lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <IKoelli...@axsone.com>
Subject RE: Index merge question
Date Tue, 10 Aug 2010 18:16:09 GMT
Would it matter if an IndexReader was opened while an index merge is in
progress?

Thanks

-----Original Message-----
From: Erick Erickson [mailto:erickerickson@gmail.com] 
Sent: Tuesday, August 10, 2010 12:03 PM
To: java-user@lucene.apache.org
Subject: Re: Index merge question

When you open an IndexReader, Lucene effectively takes
a "snapshot" of the index and searches it until you reopen
your reader. So the timing of when the merged index gets
used is up to you, so you should be fine.

Best
Erick

On Tue, Aug 10, 2010 at 11:28 AM, <IKoelliker@axsone.com> wrote:

> Hello,
>
> Is there any point during a merge operation where the index cannot be
> searched or is unstable? We want to create a bunch of smaller indexes
in
> parallel and then merge them into a single index that may have
searches
> running against it.
>
>
>
> Thanks,
>
> Ian Koelliker
>
>

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


Mime
View raw message