Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Read-only" IndexReaders [LUCENE-1030] #2106

Closed
asfimport opened this issue Oct 17, 2007 · 1 comment
Closed

"Read-only" IndexReaders [LUCENE-1030] #2106

asfimport opened this issue Oct 17, 2007 · 1 comment

Comments

@asfimport
Copy link

asfimport commented Oct 17, 2007

IndexReaders are able to perform certain write operations on an index (setNorm(), deleteDocument()). This makes issues like #1818 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 #1818 and http://www.gossamer-threads.com/lists/lucene/java-dev/52017.


Migrated from LUCENE-1030 by Michael Busch, resolved Sep 22 2008
Linked issues:

@asfimport
Copy link
Author

asfimport commented Sep 22, 2008

Michael McCandless (@mikemccand) (migrated from JIRA)

Read-only IndexReaders were added in 2.4 (#2406).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant