Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ctx_ddl.set_attribute and punctuations with ;

user613483Sep 3 2008 — edited Sep 4 2008
Hi!

I need to use ctx_ddl.set_attribute with punctuations tp specify the non-alphanumeric characters that, when they appear at the end of a word, indicate the end of a sentence or a grouping within a sentence. And for me this non-alphanumeric characters is this: ;

I thy in this way:

ctx_ddl.create_preference('TEST_LEXER', 'BASIC_LEXER');
ctx_ddl.set_attribute('RI_LEXER', 'printjoins', ' ');
ctx_ddl.set_attribute('RI_LEXER', 'punctuations', ';,');
ctx_ddl.set_attribute ( 'RI_LEXER', 'whitespace', ';,');
end;

CREATE INDEX INDX_TEST ON TABLE(COLUMN)
INDEXTYPE IS "CTXSYS"."CONTEXT" PARAMETERS ('LEXER TEST_LEXER');

But it doesn't work.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 2 2008
Added on Sep 3 2008
1 comment
1,814 views