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

Don't cache automata on FuzzyQuery

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.6, 8.5.2
    • None
    • None
    • New

    Description

      LUCENE-9068 moved construction of FuzzyQuery's automaton directly onto the query itself. However, as SOLR-14428 demonstrates, this ends up blowing up query caches that assume query objects are fairly small when calculating their memory usage. We should move automaton construction back into FuzzyTermsEnum, while keeping as much of the nice refactoring of LUCENE-9068 as possible.

      Attachments

        Issue Links

          Activity

            People

              romseygeek Alan Woodward
              romseygeek Alan Woodward
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 3.5h
                  3.5h