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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to