lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: How to copy a solr index to another index with a different schema collapsing stored data?
Date Wed, 17 Sep 2008 00:51:49 GMT
You can't copy+merge+flatten indices like that.  Reindexing would be the easiest.  Indexing
taking weeks sounds suspicious.  How much data are you reindexing and how big are your indices?

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: ristretto.rb <ristretto.rb@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Tuesday, September 16, 2008 8:14:16 PM
> Subject: How to copy a solr index to another index with a different schema collapsing
stored data?
> 
> Is it possible to copy stored index data from index to another, but
> concatenating it as you go.
> 
> Suppose 2 categories A and B both with 20 docs, for a total of 40 docs
> in the index.  The index has a stored field for the content from the
> docs.
> 
> I want a new index with only two docs in it, one for A and one for B.
> And it would have a stored field that is the sum of all the stored
> data for the 20 docs of A and of B respectively.
> 
> So, then a query on this index will tell me give me a relevant list of
> Categories?
> 
> Perhaps there's a solr query to get that data out, and then I can
> handle concatenating it, and then indexing it in the new index.
> 
> I'm hoping I don't have to reindex all this data from scratch?  It has
> taken weeks!
> 
> thanks
> gene


Mime
View raw message