- Original Message -
To: "Multiple recipients of list ORACLE-L" [EMAIL PROTECTED]
Sent: Friday, April 06, 2001 15:45
Dear DBA Gurus,
I have the following records in Oracle 8.1.6 database (CLOB fields).
id title
1 kid's
2 kid and teen
3 kid's
4 kid's and teens
If I write a query as
select * from site where contains(title,'kid''s') 0 then it
displays all the 4 records where are I want only records 1, 3 and 4 only.
If I try with: select * from site where contains(title, 'kid||chr(39)||s')
0 then it is returning error ORA - 29902. How do I write the query in
order
to return the correct result? Any help in this regard will be very much
appreciated.
'S is a stop word (which is not indexed), so for the index server all the 4
rows are correct results of the query.
Consult the manuals for setting the stop list preferences (a search for
"BASIC_STOPLIST" should give u a hint) - probably you'll be able to set the
stop list preferences in a way that suits your needs
hth,
Marin
"When someone is seeking, it happens quite easily that he only sees
the thing that he is seeking; that he is unable to find anything, unable to
absorb anything, because he is only thinking of the thing he is seeking,
because he is obsessed with his goal. Seeking means: to have a goal;
but finding means: to be free, to be receptive, to have no goal. ..."
Herman Hesse, "Siddhartha"
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Marin Dimitrov
INET: [EMAIL PROTECTED]
Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).