Lucene - Core
  1. Lucene - Core
  2. LUCENE-2300

IndexWriter should never pool readers for external segments

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.3, 3.0.2, 3.1, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      EG when addIndexes is called, it enrolls external segment infos, which are then merged. But merging will simply ask the pool for the readers, and if writer is pooling (NRT reader has been pooled) it incorrectly pools these readers.

      It shouldn't break anything but it's a waste because these readers are only used for merging, once, and they are not opened by NRT reader.

      1. LUCENE-2300.patch
        2 kB
        Michael McCandless

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        20h 18m 1 Michael McCandless 08/Mar/10 11:14
        Resolved Resolved Reopened Reopened
        83d 3h 39m 1 Michael McCandless 30/May/10 14:53
        Reopened Reopened Resolved Resolved
        2d 9h 2m 1 Michael McCandless 01/Jun/10 23:56
        Resolved Resolved Closed Closed
        16d 8h 7m 1 Uwe Schindler 18/Jun/10 08:03
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12564251 ] jira [ 12584045 ]
        Mark Thomas made changes -
        Workflow jira [ 12501091 ] Default workflow, editable Closed status [ 12564251 ]
        Uwe Schindler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Michael McCandless made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Fix Version/s 3.0.2 [ 12314798 ]
        Fix Version/s 3.1 [ 12314822 ]
        Resolution Fixed [ 1 ]
        Michael McCandless made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        Michael McCandless added a comment -

        backport

        Show
        Michael McCandless added a comment - backport
        Michael McCandless made changes -
        Fix Version/s 2.9.3 [ 12314799 ]
        Michael McCandless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Michael McCandless made changes -
        Field Original Value New Value
        Attachment LUCENE-2300.patch [ 12438138 ]
        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