How do I update a document or a set of documents that are already indexed?
Created May 7, 2012
Otis Gospodnetic To update an index incrementally you must first delete the documents that were updated, and then re-add them to the index.
There is no direct update procedure in Lucene. There is no update() method, so just delete and re-add documents that you want to update to achieve the same effect.
There is no direct update procedure in Lucene. There is no update() method, so just delete and re-add documents that you want to update to achieve the same effect.