I replaced the UpdateDocument with the following lines:
iw.DeleteDocuments(new Lucene.Net.Index.Term("FileId",
this.FileID.ToString("000000000")));
iw.AddDocument(doc, analyzer);The memory usage still climbs constantly when updating.
I replaced the UpdateDocument with the following lines:
iw.DeleteDocuments(new Lucene.Net.Index.Term("FileId",
this.FileID.ToString("000000000")));
iw.AddDocument(doc, analyzer);The memory usage still climbs constantly when updating.