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

Erick Erickson commented on SOLR-8318:
--------------------------------------

Hmmm, I'm a bit puzzled here. The base class SimpleQueryParser already _has_ a 
newFuzzyQuery method that this patch overrides. I'm out of my familiarity with 
the code, so my question is whether we should override this method in the 
plugin or is the real problem in the base class' implementation of 
newFuzzyQuery?

The tests in this patch certainly fail with the new overridden method commented 
out though.... I put some debugging in and the superclass' method is never 
called in our regular tests so maybe this is really straight bug with 
SimpleQueryParser?


> SimpleQueryParser doesn't use MultiTermAnalysis for Fuzzy Queries
> -----------------------------------------------------------------
>
>                 Key: SOLR-8318
>                 URL: https://issues.apache.org/jira/browse/SOLR-8318
>             Project: Solr
>          Issue Type: Bug
>          Components: query parsers
>    Affects Versions: 5.3
>            Reporter: Tom Hill
>            Assignee: Erick Erickson
>            Priority: Trivial
>         Attachments: sqp_fuzzy_multiterm.patch
>
>
> Fuzzy queries in SimpleQParserPlugin don't seem to use the multi-term 
> analysis chain. Prefix queries do, and SolrQueryParser does use multi-term 
> analysis for fuzzy queries, so it seems like SimpleQParserPlugin should as 
> well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to