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

Bulk scoring could speed up MUST_NOT clauses

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.5, 6.0
    • None
    • None
    • New

    Description

      Today when you have MUST_NOT clauses, the ReqExclScorer is used and needs to check the excluded clauses on every iteration. I suspect we could speed things up by having a BulkScorer that would advance the excluded clause first and then tell the required clause to bulk score up to the next excluded document.

      Attachments

        1. LUCENE-6940.patch
          10 kB
          Adrien Grand
        2. LUCENE-6940.patch
          19 kB
          Adrien Grand

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: