Re: Preventing mass index delete via DataImportHandler full-import

2010-02-17 Thread Chris Hostetter
: Thats what I thought. I think I'll take the time to add something to the : DIH to prevent such things. Maybe a parameter that will cause the import : to bail out if the documents to index are less than X % of the total : number of documents already in the index. the devils in the details tho

Re: Preventing mass index delete via DataImportHandler full-import

2010-02-17 Thread Daniel Shane
er to override this manually. I think it would be a good safety precaution. Daniel Shane - Original Message - From: "Noble Paul നോബിള്‍ नोब्ळ्" To: solr-user@lucene.apache.org Sent: Wednesday, February 17, 2010 12:36:52 AM Subject: Re: Preventing mass index delete via DataImp

Re: Preventing mass index delete via DataImportHandler full-import

2010-02-16 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Wed, Feb 17, 2010 at 8:03 AM, Chris Hostetter wrote: > > : I have a small worry though. When I call the full-import functions, can > : I configure Solr (via the XML files) to make sure there are rows to > : index before wiping everything? What worries me is if, for some unknown > : reason, we h

Re: Preventing mass index delete via DataImportHandler full-import

2010-02-16 Thread Chris Hostetter
: I have a small worry though. When I call the full-import functions, can : I configure Solr (via the XML files) to make sure there are rows to : index before wiping everything? What worries me is if, for some unknown : reason, we have an empty database, then the full-import will just wipe : t

Preventing mass index delete via DataImportHandler full-import

2010-02-16 Thread Daniel Shane
I've setup a simple DIH import handler with Solr that connects via a database to my data. I have a small worry though. When I call the full-import functions, can I configure Solr (via the XML files) to make sure there are rows to index before wiping everything? What worries me is if, for some u