Implemented FilterIndexReader.getVersion() and isCurrent()

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391358 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2006-04-04 16:18:51 +00:00
parent 040e9c6c9a
commit a2c7eb1afe
2 changed files with 8 additions and 1 deletions

View File

@ -19,7 +19,11 @@ Bug fixes
4. LUCENE-413: Fixed ArrayIndexOutOfBoundsException exceptions 4. LUCENE-413: Fixed ArrayIndexOutOfBoundsException exceptions
when using SpanQueries. (Paul Elschot via Yonik Seeley) when using SpanQueries. (Paul Elschot via Yonik Seeley)
5. Implemented FilterIndexReader.getVersion() and isCurrent()
(Yonik Seeley)
1.9.1 1.9.1
Bug fixes Bug fixes

View File

@ -137,4 +137,7 @@ public class FilterIndexReader extends IndexReader {
public Collection getFieldNames(IndexReader.FieldOption fieldNames) { public Collection getFieldNames(IndexReader.FieldOption fieldNames) {
return in.getFieldNames(fieldNames); return in.getFieldNames(fieldNames);
} }
public long getVersion() { return in.getVersion(); }
public boolean isCurrent() throws IOException { return in.isCurrent(); }
} }