ExtendedSolrQueryParser doesnt support stopword in case of a fuzzy query
------------------------------------------------------------------------
Key: SOLR-2309
URL: https://issues.apache.org/jira/browse/SOLR-2309
Project: Solr
Issue Type: Bug
Components: search
Affects Versions: 3.1
Environment: solr version 3.x, hudson build #198 (16.12.2010 05:36:57)
Reporter: Peter
Stopword doesnt works if i use a fuzzy query.
Working Example:
-stopword: Gmbh
-request: {!edismax qf=name}xyz^100 Gmbh^100
-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
ExtendedSolrQueryParser (ExtendedDismaxQParserPlugin.java)
The getFieldQuery method returns null if i have a stopword. But getFuzzyQuery
returns a DisjunctionMaxQuery.
Please see https://issues.apache.org/jira/browse/LUCENE-2850. Therefor it seems
to be a ExtendedDismax issue.
Regards,
Peter
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]