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

MultiTermQuery's FILTER rewrite method should support skipping whenever possible

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Today MultiTermQuery's FILTER rewrite always builds a bit set fom all matching terms. This means that we need to consume the entire postings lists of all matching terms. Instead we should try to execute like regular disjunctions when there are few terms.

        Attachments

        1. wikimedium.10M.nostopwords.tasks
          4 kB
          Adrien Grand
        2. LUCENE-6458-2.patch
          4 kB
          Adrien Grand
        3. LUCENE-6458.patch
          7 kB
          Adrien Grand
        4. LUCENE-6458.patch
          7 kB
          Adrien Grand

          Activity

            People

            • Assignee:
              jpountz Adrien Grand
              Reporter:
              jpountz Adrien Grand
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: