Some lost API updates

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1342052 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2012-05-23 21:20:23 +00:00
parent 1d6b468822
commit 3c88585034
1 changed files with 3 additions and 3 deletions

View File

@ -567,8 +567,8 @@ you can now do this:
customizations won't run for certain MultiTermQuerys.
* LUCENE-2691: The near-real-time API has moved from IndexWriter to
IndexReader. Instead of IndexWriter.getReader(), call
IndexReader.open(IndexWriter) or IndexReader.reopen(IndexWriter).
DirectoryReader. Instead of IndexWriter.getReader(), call
DirectoryReader.open(IndexWriter) or DirectoryReader.openIfChanged(IndexWriter).
* LUCENE-2690: MultiTermQuery boolean rewrites per segment.
Also MultiTermQuery.getTermsEnum() now takes an AttributeSource. FuzzyTermsEnum
@ -615,7 +615,7 @@ you can now do this:
globally, or per-field). To define another Strategy, implement Analyzer.ReuseStrategy.
* LUCENE-3464: IndexReader.reopen has been renamed to
IndexReader.openIfChanged (a static method), and now returns null
DirectoryReader.openIfChanged (a static method), and now returns null
(instead of the old reader) if there are no changes to the index, to
prevent the common pitfall of accidentally closing the old reader.