lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert engels <reng...@ix.netcom.com>
Subject Re: Lock-less commits
Date Mon, 21 Aug 2006 15:50:32 GMT
You are correct - I wasn't thinking of it that way.

On Aug 21, 2006, at 10:44 AM, Yonik Seeley wrote:

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


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