You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Lance Norskog <go...@gmail.com> on 2008/11/01 04:16:56 UTC

RE: DIH and rss feeds

Thanks all. I knew there had to be something :) Perhaps I should read the complete wiki page over and over again some more. It is a complex tool.

Lance 

-----Original Message-----
From: Shalin Shekhar Mangar [mailto:shalinmangar@gmail.com] 
Sent: Friday, October 31, 2008 8:42 AM
To: solr-user@lucene.apache.org
Subject: Re: DIH and rss feeds

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 <jo...@gmail.com> 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 <go...@gmail.com> 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.