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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        15m 41s 1 Michael McCandless 26/Sep/11 23:01
        Resolved Resolved Closed Closed
        61d 14h 28m 1 Uwe Schindler 27/Nov/11 12:29
        Uwe Schindler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        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
        Michael McCandless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Uwe Schindler added a comment -

        Nice catch, thanks to Robert!

        Show
        Uwe Schindler added a comment - Nice catch, thanks to Robert!
        Michael McCandless made changes -
        Field Original Value New Value
        Attachment LUCENE-3465.patch [ 12496570 ]
        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.
        Michael McCandless created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development