You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Peter (JIRA)" <ji...@apache.org> on 2011/01/07 17:24:50 UTC
[jira] Created: (SOLR-2309) ExtendedSolrQueryParser doesnt support
stopword in case of a fuzzy query
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org