Page History
...
UI Text Box | ||
---|---|---|
| ||
By default, Blueriq uses the |
Creating a case-insensitive lexer
To enable case-sensitivity, a custom lexer must be defined and configured:
Code Block | ||
---|---|---|
| ||
begin ctx_ddl.create_preference('example_lexer', 'BASIC_LEXER'); ctx_ddl.set_attribute('example_lexer', 'mixed_case', 'no'); -- no = case sensitive, yes = case insensitive end; |
Setting the lexer at index creation time
The custom lexer is specified as an index parameter:
Code Block | ||
---|---|---|
| ||
drop index aq_fulltext_index; create index aq_fulltext_index on aq_fulltext(text) indextype is ctxsys.context parameters ('datastore aq_fulltext_uds lexer example_lexer sync(every "sysdate+1/24")'); |
Changing the lexer without recreating the index
The lexer can also be changed without dropping the index first:
...
Overview
Content Tools