public void Update(Entry entry) { this.writer.UpdateDocument(FindTerm(entry.Path), entry.ToDocument()); this.writer.Flush(triggerMerge: false, flushDocStores: true, flushDeletes: true); }
public void Insert(Entry entry) { this.writer.AddDocument(entry.ToDocument()); this.writer.Flush(triggerMerge: false, flushDocStores: true, flushDeletes: true); }