lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: Realtime Search for Social Networks Collaboration
Date Tue, 09 Sep 2008 16:49:37 GMT
On Tue, Sep 9, 2008 at 12:41 PM, Michael McCandless
<lucene@mikemccandless.com> wrote:
> Yonik Seeley wrote:
>> OR, if all writes are append-only, perhaps we don't ever need to
>> invalidate the read buffer and would just need to remove the current
>> logic that caches the file length and then let the underlying
>> RandomAccessFile do the EOF checking.
>
> All writes to these files are append only, and, when we open the IndexInput
> we would never read beyond it's current length (once we flush our
> IndexOutput) because that's the local maxDocID limit.

Right, but it would be nice to not have to open a new IndexInput for
each snapshot... opening a file is not a quick operation.

-Yonik

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


Mime
View raw message