You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Siju Varghese (Jira)" <ji...@apache.org> on 2025/03/20 22:05:00 UTC

[jira] [Created] (SOLR-17714) Fuzzy query to support prefix length and max expansions

Siju Varghese created SOLR-17714:
------------------------------------

             Summary: Fuzzy query to support prefix length and max expansions
                 Key: SOLR-17714
                 URL: https://issues.apache.org/jira/browse/SOLR-17714
             Project: Solr
          Issue Type: Improvement
          Components: SearchComponents - other
            Reporter: Siju Varghese


Currently solr supports fuzzy query variants with the "~" operator. [https://solr.apache.org/guide/6_6/the-standard-query-parser.html]

Lucene supports  prefix length and max expansion parameters for fuzzy query. The prefix length parameter is quite useful because it maintains the configured prefix from the original token. In the absence of this, a user could get undesired results, ex : for foor~1 where the user intended foor to get corrected to food, it will correct to door etc,

It will be a useful feature to have where we can configure these parameters per fuzzy query.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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