lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Indexing Strategy for 20 million documents
Date Tue, 12 Oct 2004 11:09:01 GMT

--- Christoph Kiehl <kiehl@subshell.com> wrote:

> Otis Gospodnetic wrote:
> 
> > I would try putting everything in a single index first, and split
> it up
> > only if I see performance issues.  
> 
> Why would put everything into a single index? I found some benchmark 
> results on the list (starting with your post from 06/08/04) from
> which I 
> got the impression that the performance loss is very small if I
> choose 
> to search in multiple indexes with MultiSearcher instead of using one
> 
> big index.

I think it's simpler to deal with a single index.  One directory, one
set of lock files, etc.  If you don't gain anything by having multiple
indices, why have them?

> > Going from 1 index to N indices is
> > not a lot of work (not a lot of Lucene-related code). 
> 
> How do you get from 1 index to N indices without adding the documents
> again?

Yes, you would have to re-create N Lucene indices.

Otis


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