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

IndexReader.flush() [LUCENE-1056] #2132

Closed
asfimport opened this issue Nov 14, 2007 · 2 comments
Closed

IndexReader.flush() [LUCENE-1056] #2132

asfimport opened this issue Nov 14, 2007 · 2 comments

Comments

@asfimport
Copy link

asfimport commented Nov 14, 2007

With the new IndexReader.reopen() feature (#1818) it makes sense to also add a flush() method to IndexReader.

Yonik pointed out this usecase:

reader.deleteDocument()
reader.flush()
writer = new IndexWriter()
writer.addDocument()
writer.close()
reader.reopen()
reader.deleteDocument()

Migrated from LUCENE-1056 by Michael Busch, resolved Jan 26 2011

@asfimport
Copy link
Author

Shai Erera (@shaie) (migrated from JIRA)

I see IndexReader already has flush(). Not sure when it was added, but closing the issue anyway.

@asfimport
Copy link
Author

asfimport commented Jan 26, 2011

Doron Cohen (migrated from JIRA)

Not sure when it was added

Seems it was added in #1818

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