lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <>
Subject [jira] [Commented] (SOLR-8318) SimpleQueryParser doesn't use MultiTermAnalysis for Fuzzy Queries
Date Tue, 01 Dec 2015 16:01:10 GMT


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:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message