Lucene - Core
  1. Lucene - Core
  2. LUCENE-3488

Factor out SearcherManager from NRTManager

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.5, 4.0-ALPHA
    • Fix Version/s: 3.5, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      Currently we have NRTManager and SearcherManager while NRTManager contains a big piece of the code that is already in SearcherManager. Users are kind of forced to use NRTManager if they want to have SearcherManager goodness with NRT. The integration into NRTManager also forces you to maintain two instances even if you know you always want deletes. To me NRTManager tries to do more than necessary and mixes lots of responsibilities ie. handling searchers and handling indexing generations. NRTManager should use a SearcherManager by aggregation rather than duplicate a lot of logic. SearcherManager should have a NRT and Directory based implementation users can simply choose from.

      1. LUCENE-3488.patch
        44 kB
        Simon Willnauer
      2. LUCENE-3488.patch
        43 kB
        Michael McCandless
      3. LUCENE-3488.patch
        46 kB
        Simon Willnauer
      4. LUCENE-3488.patch
        46 kB
        Simon Willnauer

        Activity

        Uwe Schindler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Simon Willnauer made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Simon Willnauer made changes -
        Attachment LUCENE-3488.patch [ 12498124 ]
        Simon Willnauer made changes -
        Assignee Simon Willnauer [ simonw ]
        Simon Willnauer made changes -
        Attachment LUCENE-3488.patch [ 12497973 ]
        Michael McCandless made changes -
        Attachment LUCENE-3488.patch [ 12497888 ]
        Simon Willnauer made changes -
        Field Original Value New Value
        Attachment LUCENE-3488.patch [ 12497772 ]
        Simon Willnauer created issue -

          People

          • Assignee:
            Simon Willnauer
            Reporter:
            Simon Willnauer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development