5 okt 2007 kl. 21.50 skrev vivek sar:

Once the writer.addIndexes is done I call writer.optimize()

No biggie, but IndexWriter.addIndexes() will automatically optimize, so that is one line of code you can get rid of.

it may take hours to re-index

/Perhaps/ using IndexWriter.addIndexesNoOptimize(), closing the index, making it accessable and then optimizing it in a new thread could bring the "master index" up for use noticeable sooner.


--
karl

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

Reply via email to