On May 23, 2006, at 8:15 AM, Alberto Marquÿffffe9s wrote:
I have a question about like updating the data in Lucene. Supposing that I have indexed a directory if I want to refresh index (to return to index single files that has been modified). In order to maintain the data updated. There is faster form to do the one that using: IndexWriter(indexDir, new Analizer(), true); indexaria all the files again.
                

absolutely. you'll need to create the logic to do incremental indexing, but lucene supports deleting and adding documents. an "update" consists of locating the document to be updated in the index, deleting it, and re-adding the document.

        - erik


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

Reply via email to