> > I think: no. And 6'2" works just as prescribed: > > Not really... it depends on the analyzer. If the index analyzer for > the field ends up stripping off the trailing quote anyway, then the > dismax query (which also dropped the quote) will match documents. > That's why you don't see any issues. >
Yes, my analyzer drops trailing quote for some fields... However, <str name="rawquerystring">6'2"</str> <str name="querystring">6'2</str> <str name="parsedquery">+DisjunctionMaxQuery((item_name:"6 2"^2.0)) ()</str> <str name="parsedquery_toString">+(item_name:"6 2"^2.0) ()</str> - is it a bug of DixMax?... It happens even before request reaches dismax. What about this: <str name="rawquerystring">6'2\"</str> <str name="querystring">6'2\\</str> <str name="rawquerystring">\</str> <str name="querystring">\\</str> - looks really strange. It does not happen with standard queries, prefixed with field names: <str name="rawquerystring">host:"6'2\""</str> <str name="querystring">host:"6'2\""</str> <str name="parsedquery">host:6'2"</str> <str name="parsedquery_toString">host:6'2"</str> P.S. Try to execute simplest test case with DisMax: " 500!!!