I have following values in a column(criteria) in my table.
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;
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!!!!
Pablo (Paul) Berzukov
Author of Understanding Database Administration
available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Click Here to Expand Forum to Full Width