You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by tomi <to...@gountchev.net> on 2006/03/28 02:29:15 UTC
FilterIndexReader.getVersion
Shouldn't FilterIndexReader in 1.9.1 override IndexReader.getVersion() and
IndexReader.isCurrent()? Currently it doesn't, so getVersion() gives a
NullPointerException, segmentInfos is null.
Tomislav Gountchev
--
View this message in context: http://www.nabble.com/FilterIndexReader.getVersion-t1352880.html#a3621277
Sent from the Lucene - Java Developer forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: FilterIndexReader.getVersion
Posted by Yonik Seeley <ys...@gmail.com>.
I just fixed this.
-Yonik
http://incubator.apache.org/solr Solr, The Open Source Lucene Search Server
On 4/4/06, Chris Hostetter <ho...@fucit.org> wrote:
>
> : Shouldn't FilterIndexReader in 1.9.1 override IndexReader.getVersion() and
> : IndexReader.isCurrent()? Currently it doesn't, so getVersion() gives a
> : NullPointerException, segmentInfos is null.
>
> I think you are right, it looks like FilterIndexReader just wasn't updated
> when those methods were added.
>
> can you submit a patch into JIRA?
>
>
>
> -Hoss
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: FilterIndexReader.getVersion
Posted by Chris Hostetter <ho...@fucit.org>.
: Shouldn't FilterIndexReader in 1.9.1 override IndexReader.getVersion() and
: IndexReader.isCurrent()? Currently it doesn't, so getVersion() gives a
: NullPointerException, segmentInfos is null.
I think you are right, it looks like FilterIndexReader just wasn't updated
when those methods were added.
can you submit a patch into JIRA?
-Hoss
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org