Oracle Text Contains and technical content
问题 I'am searching for the technical word "AN-XYZ99". So I use SELECT * FROM foo WHERE CONTAINS(bar, 'AN{-}XYZ99') > 0 but I get also results like "FO-XYZ99" or "BAR-XYZ99". What can I do to ensure the expected result? I used BEGIN CTX_DDL.CREATE_PREFERENCE('FOO','BASIC_LEXER'); CTX_DDL.SET_ATTRIBUTE('FOO', 'ALTERNATE_SPELLING', 'GERMAN'); CTX_DDL.SET_ATTRIBUTE('FOO', 'COMPOSITE', 'GERMAN'); CTX_DDL.SET_ATTRIBUTE('FOO', 'MIXED_CASE', 'NO'); END; Sample data from column "bar" (VARCHAR2(4000)):