Creating a sub-index from another

2010-09-08 Thread Santiago PĂ©rez

Hej,

I have a Solr Index with several million documents. I need to implement some
text mining processes and I would like to create a million documents index
from the original for some tests.

How can I do it?

Thanks in advance
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Creating-a-sub-index-from-another-tp1438386p1438386.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Creating a sub-index from another

2010-09-08 Thread Grijesh.singh

you need a separate solr core for that
and have to write a processor which process with your original index ,then
generate the xml data and push to the new core.That is the simple way that i
have used many times.   

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Creating-a-sub-index-from-another-tp1438386p1438673.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Creating a sub-index from another

2010-09-08 Thread Chris Hostetter

: I have a Solr Index with several million documents. I need to implement some
: text mining processes and I would like to create a million documents index
: from the original for some tests.

Which million documents do you want?

If you're just looking for a one time kind of experimental test index...

1) take a snapshot of your live index
2) copy it onto your dev machine
3) load it into Solr
4) execute delete commands (acording to some criteria you choose) until 
you only have 1 million documents left.


-Hoss

--
http://lucenerevolution.org/  ...  October 7-8, Boston
http://bit.ly/stump-hoss  ...  Stump The Chump!