lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: SMB2 cache
Date Thu, 13 Aug 2009 21:26:56 GMT
On Thu, Aug 13, 2009 at 5:02 PM, Shai Erera<serera@gmail.com> wrote:
> What about doing a read-backwards as well? I.e., if read ahead fails, try to
> read backwards --> we must be able to read any segment, no?

How would that help?

Ie, IndexWriter only writes "forwards".  So if a filesystem cache is
stale, it must be the case that the "truth" lies forwards?  Ie a cache
would never lie, saying the segmetns_N file was bigger than it really
is?

Mike

---------------------------------------------------------------------
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