From a2c7eb1afef08980e3521ca778dddbcb487a13d0 Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Tue, 4 Apr 2006 16:18:51 +0000 Subject: [PATCH] Implemented FilterIndexReader.getVersion() and isCurrent() git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391358 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 6 +++++- src/java/org/apache/lucene/index/FilterIndexReader.java | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index b8b8bec15d5..7bf9562f723 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -19,7 +19,11 @@ Bug fixes 4. LUCENE-413: Fixed ArrayIndexOutOfBoundsException exceptions when using SpanQueries. (Paul Elschot via Yonik Seeley) - + + 5. Implemented FilterIndexReader.getVersion() and isCurrent() + (Yonik Seeley) + + 1.9.1 Bug fixes diff --git a/src/java/org/apache/lucene/index/FilterIndexReader.java b/src/java/org/apache/lucene/index/FilterIndexReader.java index 5b0675bdbf0..4934d0adec0 100644 --- a/src/java/org/apache/lucene/index/FilterIndexReader.java +++ b/src/java/org/apache/lucene/index/FilterIndexReader.java @@ -137,4 +137,7 @@ public class FilterIndexReader extends IndexReader { public Collection getFieldNames(IndexReader.FieldOption fieldNames) { return in.getFieldNames(fieldNames); } + + public long getVersion() { return in.getVersion(); } + public boolean isCurrent() throws IOException { return in.isCurrent(); } }