Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Intermedia Query Question
Hi,
I have a table such that
SQL> desc testtable
Name Type Nullable Default Comments
----- ------------ -------- ------- --------
DUMMY VARCHAR2(50) Y
SQL> select * from testtable
2 /
DUMMY
I create an intermedia textindex on the table using the command
create index testindex on testtable(dummy) indextype is ctxsys.context;
Now when i issue a query such as
SQL> select * from testtable where contains (dummy,'anurag trisha')>0;
DUMMY
It matches the whole string. The results I am expecting is
DUMMY
That is in the beginning it should list the records wherever tom trisha exist next to each other and later at the end it should bring all the records where both tom and trisha exist even though they are not next to each other.
Please suggest.
Thanks
Ron
Received on Thu Jul 15 2004 - 10:20:06 CDT