lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sendros, Jason" <>
Subject RE: indexing question, please have a look :)
Date Fri, 29 Jul 2011 13:59:08 GMT
Hi Ray,

As far as reindexing everything goes, you may find the following URL

You do not need to reindex everything unless all documents (in Lucene)
have been modified.

If you want to add new documents to an existing Lucene index you can
simply create an IndexWriter for an existing Lucene index and add
documents as you would in the original indexing.

Whether or not this is the "correct" way to do things depends on your
situation. How large is your index? How much new information is being
indexed during each batch? Does your index see periods of heavy traffic
and light traffic? Batch updates to a Lucene index are not a problem,
especially if you are adding large chunks of information and you can do
this during times where the index does not have a large amount of


-----Original Message-----
From: raygrrr [] 
Sent: Friday, July 29, 2011 5:43 AM
Subject: indexing question, please have a look :)

Hi experts,

I use lucene to only index file's last updated date and path, as
normally I
just need to check what files have been modifed/added from a date range.
I am planning to do indexing daily - but I am wondering whether there is
better way for indexing as everytime when I do indexing I need to do it
all the files again, is that the correct way to do indexing?

I hope my question make sense :)

Many thanks,

View this message in context:
Sent from the Lucene - General mailing list archive at

View raw message