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 <findbestopensou...@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-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@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-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org