Some search questions!!
Posted: Thu Dec 16, 2004 12:14 am
Hi,
We had some descrepancies, when searching for punctuations and we figured the following out,
1. The tests we were doing on small record set(maybe 20rows or so) were using the index.
2. But, the larger production table with 1/2 mill to million records was not using indexes at all, so doing linear search, and was hence doing sustring matches.
the searches are of the kind,
FIELD1 like 'john&' or FIELD1 like 'john@'
Our index expressions index punctuations by itself but not as part of other words.
Would the sustring match be solved by adding the punctuations to langc/wordc?
thanks in advance for the help!!
We had some descrepancies, when searching for punctuations and we figured the following out,
1. The tests we were doing on small record set(maybe 20rows or so) were using the index.
2. But, the larger production table with 1/2 mill to million records was not using indexes at all, so doing linear search, and was hence doing sustring matches.
the searches are of the kind,
FIELD1 like 'john&' or FIELD1 like 'john@'
Our index expressions index punctuations by itself but not as part of other words.
Would the sustring match be solved by adding the punctuations to langc/wordc?
thanks in advance for the help!!