Hi guys,

We observe some strange bug in solr 4.10.2, where by a sloppy query hits
words it should not:

<lst name="debug"><str name="rawquerystring">the "e commerce"</str><str
name="querystring">the "e commerce"</str><str
name="parsedquery">SpanNearQuery(spanNear([Contents:the,
spanNear([Contents:eä, Contents:commerceä], 0, true)], 300,
false))</str><str name="parsedquery_toString">spanNear([Contents:the,
spanNear([Contents:eä, Contents:commerceä], 0, true)], 300, false)</str>


This query produces words as hits, like:

>From <em>E</em>-Tail

In the inner spanNear query we expect that e and commerce will occur within
0 slop in that order.

Can somebody shed light into what is going on?

-- 
Dmitry Kan
Luke Toolbox: http://github.com/DmitryKey/luke
Blog: http://dmitrykan.blogspot.com
Twitter: http://twitter.com/dmitrykan
SemanticAnalyzer: www.semanticanalyzer.info

Reply via email to