Re: Phrase query get converted to SpanNear with slop 1 instead of 0

2015-06-16 Thread ariya bala
Ok. Thank you Chris. It is a custom Query parser. I will check my Query parser on where it inject the slop 1. On Tue, Jun 16, 2015 at 3:26 AM, Chris Hostetter hossman_luc...@fucit.org wrote: : I encounter this peculiar case with solr 4.10.2 where the parsed query : doesnt seem to be logical.

Re: Phrase query get converted to SpanNear with slop 1 instead of 0

2015-06-16 Thread Alessandro Benedetti
Hi Ariya, I think Hossman specified you that the slop 1 is fine in your use case :) Of course in the case using span queries was what you were expecting ! Cheers 2015-06-16 10:13 GMT+01:00 ariya bala ariya...@gmail.com: Ok. Thank you Chris. It is a custom Query parser. I will check my Query

Re: Phrase query get converted to SpanNear with slop 1 instead of 0

2015-06-15 Thread Chris Hostetter
: 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

Phrase query get converted to SpanNear with slop 1 instead of 0

2015-06-14 Thread ariya bala
Hi, 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)) The question is why does the Phrase(quoted string) gets converted