lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: Lock-less commits
Date Mon, 21 Aug 2006 15:44:20 GMT
On 8/21/06, robert engels <> 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 Solr, the open-source Lucene search server

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message