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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -