Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
3.0.4
-
None
-
None
-
lucene version 3.x, hudson build #213 (16.12.2010 23:03:54)
solr version 3.x, hudson build #198 (16.12.2010 05:36:57)
-
New
Description
Stopword doesnt works if i use a fuzzy query.
Working Example:
-stopword: Gmbh
-request:
-Parsed Query: +DisjunctionMaxQuery((name:xyz)^100.0)
Failure:
-stopword: Gmbh
-request: {!edismax qf=name}
xyz~0.5^100 Gmbh~0.5^100
-Parsed Query: +((DisjunctionMaxQuery((name:xyz~0.5)^100.0) DisjunctionMaxQuery((name:Gmbh~0.5)^100.0))~2)
For me it seems to be a problem with getFuzzyQuery(field, termImage, fms) in QueryParser.java:1419.
The getFieldQuery method call returns null if i have a stopword. But getFuzzyQuery returns a DisjunctionMaxQuery.
But its my first project with lucene/solr... therefore my understanding can be wrong.