: I encounter this peculiar case with solr 4.10.2 where the parsed query
: doesnt seem to be logical.
: 
: PHRASE23("reduce workforce") ==>
: SpanNearQuery(spanNear([spanNear([Contents:reduceƤ,
: Contents:workforceƤ], 1, true)], 23, true))

1) that does not appear to be a parser syntax of any parser that comes 
with Solr (that i know of) so it's possible that whatever custom parser 
you are using has a bug in it.

2) IIRC, with span queries (which unlike PhraseQueries explicitly support 
both in-order, and out of order nearness) a slop of "0" is going to 
require that the 2 spans "overlap" and occupy the exact same position -- a 
span of 1 means that they differ by a single position.



-Hoss
http://www.lucidworks.com/

Reply via email to