RE: avoid overwrite in DataImportHandler

2011-12-08 Thread Young, Cody
] Sent: Thursday, December 08, 2011 11:11 AM To: solr-user@lucene.apache.org Subject: Re: avoid overwrite in DataImportHandler Ah. Thanks Erick. I see now that my question is different from sabman's. Is there a way to use the DataImportHandler's "full-import" command so that it

Re: avoid overwrite in DataImportHandler

2011-12-08 Thread P Williams
Ah. Thanks Erick. I see now that my question is different from sabman's. Is there a way to use the DataImportHandler's "full-import" command so that it does not delete the existing material before it begins? Thanks, Tricia On Thu, Dec 8, 2011 at 6:35 AM, Erick Erickson wrote: > This is all co

Re: avoid overwrite in DataImportHandler

2011-12-08 Thread Erick Erickson
This is all controlled by Solr via the field in your schema. Just remove that entry. But then it's all up to you to handle the fact that there will be multiple documents with the same ID all returned as a result of querying. And it won't matter what program adds data, *nothing* will be overwritte

Re: avoid overwrite in DataImportHandler

2011-12-07 Thread P Williams
Hi, I've wondered the same thing myself. I feel like the "clean" parameter has something to do with it but it doesn't work as I'd expect either. Thanks in advance to anyone who can answer this question. *clean* : (default 'true'). Tells whether to clean up the index before the indexing is start