Re: DIH full-import with clean=true fails and rollback empties index

2009-02-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
may be you can try "postImportDeleteQuery" (not yet documented , SOLR-801) on a root entity. You can keep a timestamp in the fields which can keep the value of ${dataimporter.index_start_time} as a field . Use that to remove old docs which may exist in the index before the indexing started --Noble

Re: DIH full-import with clean=true fails and rollback empties index

2009-02-17 Thread Shalin Shekhar Mangar
On Tue, Feb 17, 2009 at 4:42 PM, Steffen B. wrote: > > Unfortunately, this rollback does not "refill" the index with the old data, > and neither keeps the old index from being overwritten with the new, > erroneous index. Now my question is: is there anything I can do to keep > Solr > from trashing

DIH full-import with clean=true fails and rollback empties index

2009-02-17 Thread Steffen B.
Hi there, I've got a pretty simple question regarding the DIH full-import command. I have a SOLR server running that has a full index with lots of documents in it. Once a day, a full-import is run, which uses the default parameters (clean=true, because it's not an incremental index). When I run a