The "clean" parameter is there in the 1.3 release. The full-import is by definition "full" so we delete all existing documents at the start. If you don't want to clean the index, you can pass clean=false and DIH will just add them. On Fri, Oct 31, 2008 at 8:58 PM, Jon Baer <[EMAIL PROTECTED]> wrote:
> Is that right? I find the wording of "clean" a little confusing. I would > have thought this is what I had needed earlier but the topic came up > regarding the fact that you can not deleteByQuery for an entity you want to > flush w/ delta-import. > > I just noticed that the original JIRA request says it was implemented > recently ... > > https://issues.apache.org/jira/browse/SOLR-801 > > Im assuming this means your war needs to come from trunk copy? Does this > patch affect that param @ all? > > - Jon > > > On Oct 31, 2008, at 2:05 AM, Noble Paul നോബിള് नोब्ळ् wrote: > > run full-import with clean=false >> >> for full-import clean is set to true by default and for delta-import >> clean is false by default. >> >> On Fri, Oct 31, 2008 at 9:16 AM, Lance Norskog <[EMAIL PROTECTED]> wrote: >> >>> I have a DataImportHandler configured to index from an RSS feed. It is a >>> "latest stuff" feed. It reads the feed and indexes the 100 documents >>> harvested from the feed. So far, works great. >>> >>> Now: a few hours later there are a different 100 "lastest" documents. How >>> do >>> I add those to the index so I will have 200 documents? 'full-import' >>> throws >>> away the first 100. 'delta-import' is not implemented. What is the >>> special >>> trick here? I'm using the Solr-1.3.0 release. >>> >>> Thanks, >>> >>> Lance Norskog >>> >>> >> >> >> -- >> --Noble Paul >> > > -- Regards, Shalin Shekhar Mangar.