lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: IndexReader.lastModified() not correct
Date Wed, 07 Aug 2002 18:20:21 GMT
Halácsy Péter wrote:
> I implemented the worst solution. I've checked the modification time of the directory
containing my index. It's good on windows but not on unix. now I'll use your code.

Why doesn't this work on unix?

> I have only one question:
> is it faster to iterate on segments:
>   SegmentInfos infos = new SegmentInfos();
> or you could use directory.list() and check the file extensions?

I think it should be faster to iterate on segments.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message