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

Compound queries should create sub weights through IndexSearcher

Details

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

    Description

      By creating sub weights through IndexSearcher, we give IndexSearcher a chance to add a caching wrapper. We were already doing it for BooleanQuery and ConstantScoreQuery but forgot to also modify DisjunctionMaxQuery, BoostingQuery and BoostedQuery.

      Attachments

        1. LUCENE-6746.patch
          2 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: