-
Oracle Text
Hi
I have following values in a column(criteria) in my table.
comm
community
communal
commerce
..
..
I have created CTXCAT index as follows:
CREATE INDEX IND_SRCH_CRITERIA ON search_attr(criteria) INDEXTYPE IS ctxsys.ctxcat;
I pass the following query :
select CRITERIA from search_attr where catsearch(CRITERIA, '%comm%', NULL) > 0;
CRITERIA
---------
comm
The query returns only "comm". But I want the query to return all the rows containing %comm%, just like how it returns all these rows if I use the following query using LIKE:
select CRITERIA from search_attr where CRITERIA like '%comm%';
Any help please!!!!
-
-