Hi,

I am new to solr, lucene. In my project I want to copy index directory based on some query (copy may not copy the whole index directory). I came across a backup script in solr/bin folder but it seems to be copying the whole index directory.

My query is, what is the procedure for copying a part of the index. Is it like - do a query, get all the fields, make a new index with those queried results? Or is there any other way ?

My project is in python and I am using the client => http://svn.apache.org/repos/asf/lucene/solr/trunk/client/python/solr.py. I want to do the copy operation from python code. The above python client, solr.py has a constructor which takes in host, solrBase, persistent=True, postHeaders. Can we specify the location of the index dir from python (through constructor or so) ?

Thanks
Roopesh






------------------
DigitalGlue, India



Reply via email to