mirror of https://github.com/apache/lucene.git
Merged revision(s) 1204970 from lucene/dev/branches/branch_3x:
LUCENE-3464: Add javadocs about reopening FilterIndexReader git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204971 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
25384f2098
commit
01dbe51a3e
|
@ -37,6 +37,11 @@ import java.util.concurrent.ConcurrentHashMap;
|
|||
* contained index reader. Subclasses of <code>FilterIndexReader</code> may
|
||||
* further override some of these methods and may also provide additional
|
||||
* methods and fields.
|
||||
* <p><b>Note:</b> The default implementation of {@link FilterIndexReader#doOpenIfChanged}
|
||||
* throws {@link UnsupportedOperationException} (like the base class),
|
||||
* so it's not possible to reopen a <code>FilterIndexReader</code>.
|
||||
* To reopen, you have to first reopen the underlying reader
|
||||
* and wrap it again with the custom filter.
|
||||
*/
|
||||
public class FilterIndexReader extends IndexReader {
|
||||
|
||||
|
|
Loading…
Reference in New Issue