balakumar86
Programmer
All,
I have 2 set of words. First set has M items and the second set has N items. I want to search for items having a word from the first set followed immediately by any word in the second set. I thought of using the OTSQL for this. I thought the below should work.
(I1 or I2 or I3 or... Im) Prox[0] (I1 or I2 or I3 or .. In)
This doesn't seem to be working. It returns lot of un necessary results.
If I simply use I1(a word from set1) prox[0] I1(a word from set 2), it returns correct results. But, when I use OR condition to check for all the words, it's not working. Am I making mistake somewhere. Please advise.
Regards,
Bala
I have 2 set of words. First set has M items and the second set has N items. I want to search for items having a word from the first set followed immediately by any word in the second set. I thought of using the OTSQL for this. I thought the below should work.
(I1 or I2 or I3 or... Im) Prox[0] (I1 or I2 or I3 or .. In)
This doesn't seem to be working. It returns lot of un necessary results.
If I simply use I1(a word from set1) prox[0] I1(a word from set 2), it returns correct results. But, when I use OR condition to check for all the words, it's not working. Am I making mistake somewhere. Please advise.
Regards,
Bala