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

Consolidate Near Real Time and Reopen API semantics

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.1, 4.0-ALPHA
    • None
    • None
    • New

    Description

      We should consolidate the IndexWriter.getReader and the IndexReader.reopen semantics, since most people are already using the IR.reopen() method, we should simply add::

      IR.reopen(IndexWriter)
      

      Initially, it could just call the IW.getReader(), but it probably should switch to just using package private methods for sharing the internals

      Attachments

        1. LUCENE-2691.patch
          16 kB
          Grant Ingersoll
        2. LUCENE-2691.patch
          17 kB
          Grant Ingersoll

        Activity

          People

            mikemccand Michael McCandless
            gsingers Grant Ingersoll
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: