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

"Read-only" IndexReaders

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      IndexReaders are able to perform certain write operations on an index (setNorm(), deleteDocument()). This makes issues like LUCENE-743 more complicated and also duplicate code for acquiring locks and write transactions is necessary.

      Therefore we should make IndexReaders "read-only" in the future. However, we have to find a good solution to support setting norms and deleting documents by docid with the IndexWriter. See related discussions in LUCENE-743 and http://www.gossamer-threads.com/lists/lucene/java-dev/52017.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                michaelbusch Michael Busch
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: