Overload List

  NameDescription
Public methodUpdateDocument(Term, Document)
Updates a document by first deleting the document(s) containing
CopyC#
term
and then adding the new document. The delete and then add are atomic as seen by a reader on the same index (flush may happen only after the add).

NOTE: if this method hits an OutOfMemoryError you should immediately close the writer. See above for details.

Public methodUpdateDocument(Term, Document, Analyzer)
Updates a document by first deleting the document(s) containing
CopyC#
term
and then adding the new document. The delete and then add are atomic as seen by a reader on the same index (flush may happen only after the add).

NOTE: if this method hits an OutOfMemoryError you should immediately close the writer. See above for details.

See Also