Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 62 Insurance
- 536K On-Premises Infrastructure
- 138.2K Analytics Software
- 38.6K Application Development Software
- 5.7K Cloud Platform
- 109.4K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71.1K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
Retrieving user-defined Lexer attributes
Hi,
How may I see the attributes that have been setted for an user defined Lexer?
I found the lexer with "CTXSYS.CTX_PREFERENCES", but all I see is owner, name and the lexer is based on.
Regards.
Paulo
Best Answer
-
A USER_LEXER only has three attributes. See here
The easiest way to see what those attributes are set to for a particular index is to call ctx_report.create_index_script.
In SQL*Plus I usually call it like this:
define indexname=MY_INDEX_NAMEvariable theclob clobexec dbms_lob.createtemporary(:theclob, true)set pagesize 0set linesize 255set long 50000set longchunksize 50000set heading offset trimspool onspool indexdetails.txtexec ctx_report.create_index_script(index_name=>'&indexname.', report=>:theclob);print theclob
Answers
-
A USER_LEXER only has three attributes. See here
The easiest way to see what those attributes are set to for a particular index is to call ctx_report.create_index_script.
In SQL*Plus I usually call it like this:
define indexname=MY_INDEX_NAMEvariable theclob clobexec dbms_lob.createtemporary(:theclob, true)set pagesize 0set linesize 255set long 50000set longchunksize 50000set heading offset trimspool onspool indexdetails.txtexec ctx_report.create_index_script(index_name=>'&indexname.', report=>:theclob);print theclob
This discussion has been closed.