On Thu, Aug 13, 2009 at 5:02 PM, Shai Erera<ser...@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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to