lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: searching while indexing.
Date Wed, 05 Jan 2005 09:57:36 GMT
There are no problems searching while indexing.  How are you 
experiencing otherwise?  What error do you get?

	Erik

On Jan 5, 2005, at 4:47 AM, Peter Veentjer - Anchor Men wrote:

> What is the best way to implement: searching while indexing.
>
> I have read the mailinglist for a while but haven`t got a good answer 
> to
> my question.
>
> It is not allowed to index, while searching. But I don`t understand 
> why.
> All the segments are immutable, so after I have created a Reader it
> could use all the segments that are available at the moment. The reader
> maintains references to those segments, and if the reader is not needed
> anymore (or the writer says: I`m finished creating new indices... you
> should can search through a newer set of segments) the reader could
> delete all the old segments. The writer can create new segments based 
> on
> the immutable-old ones and based on the new documents. After it has
> created a new set, it can signal the reader to use the newer segments.
>
> So why is the above scenario not possible? Why are segments immutable?
> And what is the best way to add documents to a (big index >20 gig)
> without copying the index, and without blocking the search?
>
>
>
>
> Met vriendelijke groet,
>
> Peter Veentjer
> Anchor Men Interactive Solutions - duidelijk in zakelijke
> internetoplossingen
>
> Praediniussingel 41
> 9711 AE Groningen
>
> T: 050-3115222
> F: 050-5891696
> E: p.veentjer@anchormen.nl
> I : www.anchormen.nl <blocked::http://www.anchormen.nl/>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message