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

Add maxQueryLength option to DirectSpellchecker

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.5
    • Component/s: modules/spellchecker
    • Labels:
      None
    • Lucene Fields:
      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

              • Assignee:
                broustant Bruno Roustant
                Reporter:
                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