Lucene - Core
  1. Lucene - Core
  2. LUCENE-6746

Compound queries should create sub weights through IndexSearcher

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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.

        Activity

        Hide
        Adrien Grand added a comment -

        Here is a patch.

        Show
        Adrien Grand added a comment - Here is a patch.
        Hide
        ASF subversion and git services added a comment -

        Commit 1700598 from Adrien Grand in branch 'dev/trunk'
        [ https://svn.apache.org/r1700598 ]

        LUCENE-6746: DisjunctionMaxQuery, BoostingQuery and BoostedQuery now create sub weights through IndexSearcher.

        Show
        ASF subversion and git services added a comment - Commit 1700598 from Adrien Grand in branch 'dev/trunk' [ https://svn.apache.org/r1700598 ] LUCENE-6746 : DisjunctionMaxQuery, BoostingQuery and BoostedQuery now create sub weights through IndexSearcher.
        Hide
        ASF subversion and git services added a comment -

        Commit 1700612 from Adrien Grand in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1700612 ]

        LUCENE-6746: DisjunctionMaxQuery, BoostingQuery and BoostedQuery now create sub weights through IndexSearcher.

        Show
        ASF subversion and git services added a comment - Commit 1700612 from Adrien Grand in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1700612 ] LUCENE-6746 : DisjunctionMaxQuery, BoostingQuery and BoostedQuery now create sub weights through IndexSearcher.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development