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

Automatically wrap with ScoreCachingWrapperScorer when several collectors need scores

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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
        thelabdude Timothy Potter added a comment -

        Bulk close after 5.1 release

        Show
        thelabdude Timothy Potter added a comment - Bulk close after 5.1 release
        Hide
        jira-bot 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
        jira-bot 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
        jira-bot 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
        jira-bot 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
        jpountz Adrien Grand added a comment -

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

        Show
        jpountz Adrien Grand added a comment - Here is a patch: MultiCollector automatically wraps the scorer when 2 or more sub collectors need scores.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development