Issue Details (XML | Word | Printable)

Key: LUCENE-1030
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Duplicate
Priority: Minor Minor
Assignee: Unassigned
Reporter: Michael Busch
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Lucene - Java

"Read-only" IndexReaders

Created: 17/Oct/07 06:32 PM   Updated: 22/Sep/08 06:47 PM
Return to search
Component/s: Index
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
Reference
 

Lucene Fields: New
Resolution Date: 22/Sep/08 06:47 PM


 Description  « Hide
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.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Michael McCandless added a comment - 22/Sep/08 06:47 PM
Read-only IndexReaders were added in 2.4 (LUCENE-1329).