Re: Lucene index updation and performance

2009-01-16 Thread Erick Erickson
You should look over the FAQ, lots of information there. See: http://wiki.apache.org/lucene-java/LuceneFAQ You can index and search in parallel, but a searcher doesn't see additions to an indexer until the underlying IndexReader is closed/reopened (see the FAQ section: Does Lucene allow searchin

RE: Lucene index updation and performance

2009-01-16 Thread Angel, Eric
You can simply call IndexWriter.addDocument() for new jobs and IndexWriter.updateDocument http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/index/IndexWri ter.html Also, don't forget to optimize your index. Depending on your volume, you might want to optimize during slow traffic. Eric A