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

Contrib.: Thread-safe DelayCloseIndexSearcher.

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 1.4
    • None
    • core/search
    • None
    • Implemented for Lucene 1.4.3, changes for 1.9 in comments.

    Description

      Implements search over a single IndexReader, but remains open even if close() is called. This way it can be shared by
      multiple objects that need to search the index without being aware of the keep-the-index-open-until-it-changes logic.

      Usage is described in the javadoc.

      Attachments

        1. DelayCloseIndexSearcherTest.java
          4 kB
          Luc Vanlerberghe
        2. DelayCloseIndexSearcher.java
          8 kB
          Luc Vanlerberghe

        Activity

          People

            Unassigned Unassigned
            lvl Luc Vanlerberghe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: