Lucene - Core
  1. Lucene - Core
  2. LUCENE-6263

Automatically wrap with ScoreCachingWrapperScorer when several collectors need scores

    Details

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

      Description

      Now that we know which collectors need scores, we could take advantage of this information in order to automatically wrap with ScoreCachingWrapperScorer when it would help.

        Activity

        Hide
        Adrien Grand added a comment -

        Here is a patch: MultiCollector automatically wraps the scorer when 2 or more sub collectors need scores.

        Show
        Adrien Grand added a comment - Here is a patch: MultiCollector automatically wraps the scorer when 2 or more sub collectors need scores.
        Hide
        ASF subversion and git services added a comment -

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

        LUCENE-6263: MultiCollector automatically caches scores when several collectors need them.

        Show
        ASF subversion and git services added a comment - Commit 1661369 from Adrien Grand in branch 'dev/trunk' [ https://svn.apache.org/r1661369 ] LUCENE-6263 : MultiCollector automatically caches scores when several collectors need them.
        Hide
        ASF subversion and git services added a comment -

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

        LUCENE-6263: MultiCollector automatically caches scores when several collectors need them.

        Show
        ASF subversion and git services added a comment - Commit 1661372 from Adrien Grand in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1661372 ] LUCENE-6263 : MultiCollector automatically caches scores when several collectors need them.
        Hide
        Timothy Potter added a comment -

        Bulk close after 5.1 release

        Show
        Timothy Potter added a comment - Bulk close after 5.1 release

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development