lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: asking about incremental update
Date Fri, 20 Aug 2010 11:49:01 GMT

On Aug 19, 2010, at 7:55 AM, Yakob wrote:

> do you reckon I should use a timer or a thread instead to periodically
> update the index?

That's likely what most people do, setup something to watch a directory or check a timestamp.
 If your data is in a DB, then you can do a query to get what's changed.  Note, that an update
is really a delete an add.



> 
> On 8/19/10, findbestopensource <findbestopensource@gmail.com> wrote:
>> Hi jacobian,
>> 
>> Lucene will not do incremental update by iteself. Lucene is just a
>> library. Your app should periodically add the content to the index and
>> once done, reopen the reader to get your changes reflected.
>> 
>> Regards
>> Aditya
>> www.findbestopensource.com
> 
> 
> -- 
> http://jacobian.web.id
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 

--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem using Solr/Lucene: http://www.lucidimagination.com/search


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message