Sphinx NEAR and << issues -
i'm looking pattern word 1 near , before word 2. basic query like
(word1 << word 2) (word1 near\2 word2)
which naturally match
- bla bla word1 word2
- bla bla word1 , word2
but not match
- bla bla word2 word1
- bla bla word1 bla bla. bla bla bla. word2 bla bla.
the problem match
- bla bla word1. bla bla bla word2 word1.
is matches both near/1 , << conditions though not in way intended.
is there other operator/logic can use negate match in last example?
the closest can think
"word1 word2" | "word1 * word2"
Comments
Post a Comment