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

Revise Weight#scorer & Filter#getDocIdSet API to pass Readers context

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.0-ALPHA
    • core/search
    • None
    • New, Patch Available

    Description

      Spinoff from LUCENE-2694 - instead of passing a reader into Weight#scorer(IR, boolean, boolean) we should / could revise the API and pass in a struct that has parent reader, sub reader, ord of that sub. The ord mapping plus the context with its parent would make several issues way easier. See LUCENE-2694, LUCENE-2348 and LUCENE-2829 to name some.

      Attachments

        1. LUCENE-2831.patch
          152 kB
          Simon Willnauer
        2. LUCENE-2831.patch
          161 kB
          Simon Willnauer
        3. LUCENE-2831.patch
          168 kB
          Simon Willnauer
        4. LUCENE-2831.patch
          169 kB
          Simon Willnauer
        5. LUCENE-2831.patch
          169 kB
          Simon Willnauer
        6. LUCENE-2831.patch
          170 kB
          Simon Willnauer
        7. LUCENE-2831_transition_to_atomicCtx.patch
          103 kB
          Simon Willnauer
        8. LUCENE-2831_transition_to_atomicCtx.patch
          78 kB
          Simon Willnauer
        9. LUCENE-2831_transition_to_atomicCtx.patch
          77 kB
          Simon Willnauer
        10. LUCENE-2831-nuke-SolrIndexReader.patch
          141 kB
          Simon Willnauer
        11. LUCENE-2831-nuke-SolrIndexReader.patch
          141 kB
          Simon Willnauer
        12. LUCENE-2831-recursion.patch
          1 kB
          Michael McCandless
        13. LUCENE-2831-recursion.patch
          3 kB
          Michael McCandless
        14. LUCENE-2831-recursion.patch
          4 kB
          Michael McCandless
        15. LUCENE-2831-recursion.patch
          2 kB
          Simon Willnauer
        16. LUCENE-2831-no_sub_searcher.patch
          14 kB
          Simon Willnauer
        17. LUCENE-2831-no_sub_searcher.patch
          15 kB
          Simon Willnauer

        Issue Links

          Activity

            People

              simonw Simon Willnauer
              simonw Simon Willnauer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: