If a document that has previously been indexed is updated and you want the changes to be reflected in future search results, you will need to reindex that document to make the changes available.
Updating of document index data is performed by the
UpdateDocument method of an
UpdateDocument takes two parameters: a term to look up the document to be replaced and a
Document instance used to replace the existing document.
The following example shows how to update a document. It creates an index containing five documents, uses a search to find one of the documents (containing
four), creates a new document object with new field values/content, and instructs ...