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!

Multi Word Fuzzy

ZulqarnainApr 28 2007 — edited Apr 30 2007
If my search text contains one word the query brings the results. If it contains more it gives error ORA-20000 ORACLE TEXT ERROR DRG-50901 TEXT QUERY PARSER SYNTAX ERROR.

Here's the query



SELECT DISTINCT D.DOC_ID,


DOCUBANK.GET_FOLDER( IC.FOLDER_ID ) FOLDER,
IC.INDEX_CARD

FROM DOCS D, INDEX_CARDS IC,
DOC_INDEX_FIELDS DIF
WHERE D.DOC_ID = DIF.DOC_ID
AND D.INDEX_CARD_ID = IC.INDEX_CARD_ID
AND ( (UPPER(DIF.VALUE) LIKE '%'||UPPER(:P10_SEARCH_TEXT)||'%'
OR UPPER(D.REMARKS) LIKE '%'||UPPER(:P10_SEARCH_TEXT)||'%')

OR CONTAINS (theBfile, 'fuzzy (' || :P10_SEARCH_TEXT ||')') > 0 )
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 28 2007
Added on Apr 28 2007
1 comment
1,566 views