You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Rauf Aliev (JIRA)" <ji...@apache.org> on 2017/08/28 04:48:00 UTC

[jira] [Commented] (SOLR-2309) ExtendedSolrQueryParser doesnt support stopword in case of a fuzzy query

    [ https://issues.apache.org/jira/browse/SOLR-2309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16143364#comment-16143364 ] 

Rauf Aliev commented on SOLR-2309:
----------------------------------

https://stackoverflow.com/questions/45621439/stopwords-and-fuzzy-search-in-solr 

> 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 was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org