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

query time join should override Weight.scoresDocsOutOfOrder

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.8, 6.0
    • modules/join
    • None
    • New

    Description

      The TermsIncludingScoreQuery seems to have optimized impls when the collector can accept out-of-order docIDs. BTW, as far as I know, besides BooleanScorer, this is the only query scorer we have that can "take advantage" of out-of-order docIDs during collection.

      However, its Weight class fails to override scoresDocsOutOfOrder, which then means that for the common case where apps use IndexSeacher.search to sort by score or field, these impls will never be used.

      Attachments

        1. LUCENE-5486.patch
          0.7 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: