You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/09/21 12:26:00 UTC

[jira] [Commented] (LUCENE-10115) Add an extension point for custom query parsers to determine the similarity distance for fuzzy queries

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

ASF subversion and git services commented on LUCENE-10115:
----------------------------------------------------------

Commit a7578709a68e63f509d441f39f46c621ed66dee6 in lucene's branch refs/heads/main from Chris Hegarty
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=a757870 ]

LUCENE-10115: Add a fuzzy parsing extension point for custom query parsers

This commit adds the QueryParserBase::getFuzzyDistance protected method, which 
can be overridden by subclasses to provide customisation of how the similarity distance 
is determined. The default implementation retains the current behaviour.

> Add an extension point for custom query parsers to determine the similarity distance for fuzzy queries
> ------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-10115
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10115
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/queryparser
>    Affects Versions: main (9.0)
>            Reporter: Chris Hegarty
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Add an extension point for custom query parsers to determine the similarity distance for fuzzy queries. This will be used by the elasticsearch query parser to customise how similarity distances are determined.
> This issue was filed in response to a question raise on the lucene-dev mailing list, see: [https://lists.apache.org/thread.html/r831b11f918e4e7ead6f4a5fc7b28bec804ff449ae7d5acec9153c37a%40%3Cdev.lucene.apache.org%3E]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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