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

Consolidate Near Real Time and Reopen API semantics

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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
          17 kB
          Grant Ingersoll
        2. LUCENE-2691.patch
          16 kB
          Grant Ingersoll

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: