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 Mon, 21 Aug 2006 15:44:20 GMT
On 8/21/06, robert engels <rengels@ix.netcom.com> wrote:
> Then keeping the segments in memory is not helpful, as every open of
> the writer needs to traverse the directory (since another writer
> still could have created segments).
>
> For example,
>
> Computer A opens writer, modifies index, closes writer.
> Computer B opens writer (this must read the directory)....
>
> No reason to keep the filename/segment infos around...

New segments are created and segments are deleted (or deletion is
attempted) every merge, which there can be a large number of during
the life of a single IndexWriter, hence it could be very beneficial to
keep this stuff in memory.

-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