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

Give MatchAllDocsQuery a dedicated BulkScorer

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.4
    • None
    • None
    • New

    Description

      MatchAllDocsQuery currently uses the default BulkScorer, which creates a Scorer and iterates over matching doc IDs up to NO_MORE_DOCS. I tried to build a dedicated BulkScorer, which seemed to help remove abstractions as it helped improve throughput by a ~2x factor with simple collectors.

      Attachments

        1. LUCENE-6756.patch
          1 kB
          Adrien Grand
        2. MABench.java
          2 kB
          Adrien Grand

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: