Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9102

Add maxQueryLength option to DirectSpellchecker

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 8.5
    • modules/spellchecker
    • None
    • New

    Description

      Attempting to spellcheck some long query terms can trigger org.apache.lucene.util.automaton.TooComplexToDeterminizeException. This change (previously discussed in SOLR-13190) adds a maxQueryLength option to DirectSpellchecker so that Lucene can be configured to not attempt to spellcheck terms over a specified length.

      PR: https://github.com/apache/lucene-solr/pull/1103

      Dependent Solr issue: SOLR-14131

      Attachments

        Issue Links

          Activity

            People

              broustant Bruno Roustant
              andywebb1975 Andy Webb
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m