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

Allow maxExpansions to be set on multi-term Intervals

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.2
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      MultiTermIntervalsSource has a maxExpansions parameter which is always set to 128 by the factory methods Intervals.prefix() and Intervals.wildcard(). We should keep 128 as the default, but also add additional methods that take a configurable maximum.

        Attachments

        1. LUCENE-8845.patch
          5 kB
          Alan Woodward

          Activity

            People

            • Assignee:
              romseygeek Alan Woodward
              Reporter:
              romseygeek Alan Woodward
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: