Re: Extracting a subset of an index

2007-04-03 Thread Steven Rowe
Karl Wettin's code to facilitate index copying may be useful (the below link is to a post of Karl's to the java-dev mailing list): Steve Erick Erickson wrote: > In the immortal words of Erik H. ...it depends... >

Re: Extracting a subset of an index

2007-04-03 Thread Erick Erickson
In the immortal words of Erik H. ...it depends... The big issue is whether you have fields in your index that are NOT stored (i.e. Field.Store.NO). If this is the case, your documents will not be complete, and adding it to the fresh index will not include the un-stored data. It's actually prett

Extracting a subset of an index

2007-04-03 Thread jafarim
Hi folks, I need to extract a subset of an index so that I can move some documents to another isolated machine to be searched locally. I'm not sure whether the following scenario is correct: - extracting the documents from the index by using one of the doc(i) methods - adding the same Document obj