Lucene - Core
  1. Lucene - Core
  2. LUCENE-3465

IndexSearcher fails to pass docBase to Collector when using ExecutorService

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This bug is causing the failure in TestSearchAfter.

      We are now always passing docBase 0 to Collector when you use ExecutorService with IndexSearcher.

      This doesn't affect trunk (AtomicReaderContext carries the right docBase); only 3.x.

      1. LUCENE-3465.patch
        8 kB
        Michael McCandless

        Activity

        Hide
        Michael McCandless added a comment -

        Patch, storing docBase in IndexSearcher w/ private ctor (used only when top IS has an ES), instead of passing docBase to the subs per-search.

        Show
        Michael McCandless added a comment - Patch, storing docBase in IndexSearcher w/ private ctor (used only when top IS has an ES), instead of passing docBase to the subs per-search.
        Hide
        Uwe Schindler added a comment -

        Nice catch, thanks to Robert!

        Show
        Uwe Schindler added a comment - Nice catch, thanks to Robert!
        Hide
        Uwe Schindler added a comment -

        Bulk close after release of 3.5

        Show
        Uwe Schindler added a comment - Bulk close after release of 3.5

          People

          • Assignee:
            Michael McCandless
            Reporter:
            Michael McCandless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development