On 8/25/06, Doron Cohen <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]