lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Lu" <chris...@gmail.com>
Subject Re: Updating index if there is a database changes
Date Wed, 03 May 2006 08:18:18 GMT
My approach is to select documents ordered by updated_date desc
And only process documents newer than the ones already in the index.

Chris Lu
------------------------------------
Full-Text Lucene Search for Any Databases/Applications
http://www.dbsight.net


On 5/3/06, Kiran Joisher <kiran.joisher@recreatesolutions.com> wrote:
> Hi all,
>
> I m working on a project where I will use lucene to make a search engine on
> a database. I am new to lucene. I wrote a test program which indexes a table
> and searches the same.. but now I m stuck on how to update the index in case
> a database change occurs.. I need some help on this topic...like how do I
> update the index at run time... can it be done then and there...or do I have
> to write some kind of schedular program which "re-builds" the entire index
> say once in a day ... which will be more efficient ?
>
> the data will be huge... 4 million records something..
>
> Thanks in advance,
> --Kiran
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

---------------------------------------------------------------------
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