lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: Lock-less commits
Date Sat, 26 Aug 2006 14:45:05 GMT
On 8/25/06, Doron Cohen <DORONC@il.ibm.com> wrote:
> In this highly interactive search scenario is it true that every opened
> searcher needs a directory listing? - If so is this a possible performance
> hit for the searchers, similar to discussion in this thread for writers.
> But we should worry more for searchers...  In this case, how about
> maintaining a separate version-file (as discussed) for allowing new
> searchers/readers to easily detect the most current version that is stable
> and should be used, without needing a directory listing.

Who knows... a directory listing could end up being even faster tnan a
version file or a lock... after all, the OS needs to read the
directory info in order do do the file lookup anyway.

I do like the idea of an IndexReader not having to do any writes to
open an idex.

-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server

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