lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: cvs commit: jakarta-lucene/src/java/org/apache/lucene/index MultiReader.java FilterIndexReader.java IndexReader.java SegmentReader.java
Date Mon, 19 Apr 2004 20:34:13 GMT
Christoph Goller wrote:
> Concerning close, I would like to give a similar behavior to 
> IndexWriter. It
> should only close the directory if it was explicitly opened for it. 
> Would this be ok?

Yes.  I think someone complained about this recently.  That would be a 
good fix.  Thanks.

> I am currently racking my brain on the skipTo stuff. I hope to get it right
> tomorrow. I didn´t do the proposed changes on the file format so far.
> However, I meditated upon SegmentTermDocs.skipTo. Its really a headache :-)

It is surprisingly complicated!  I wish it wasn't so...

> I think I got it right now, but I haven´t done any tests except for the
> usual unit tests. I commit it, so that you can have a look at it.

This looks good to me, but then so have previous versions!

Cheers,

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message