Have you read http://www.lucidimagination.com/blog/2009/07/18/the-spanquery/?
Might help explain some of the behaviour you are seeing.
--
Ian.
On Tue, Dec 6, 2011 at 4:42 AM, Trejkaz wrote:
> Supposing I have a document with just "hi there" as the text.
>
> If I do a span query like this:
>
>
Supposing I have a document with just "hi there" as the text.
If I do a span query like this:
near(near(term('hi'), term('there'), slop=0, forwards),
term('hi'), slop=1, any-direction)
that returns no hits. However, if I do a span query like this:
near(near(term('hi'), term('there'), s