public LuceneDataProviderSettings() { EnableMultipleEntities = true; DeletionPolicy = new KeepOnlyLastCommitDeletionPolicy(); MaxFieldLength = IndexWriter.MaxFieldLength.UNLIMITED; MergeFactor = LogMergePolicy.DEFAULT_MERGE_FACTOR; RAMBufferSizeMB = IndexWriter.DEFAULT_RAM_BUFFER_SIZE_MB; }
public LuceneIndexCopy() { IndexDeletionPolicy policy = new KeepOnlyLastCommitDeletionPolicy(); _snapshotter = new SnapshotDeletionPolicy(policy); }
public LocalTempStorageIndexer() { IndexDeletionPolicy policy = new KeepOnlyLastCommitDeletionPolicy(); Snapshotter = new SnapshotDeletionPolicy(policy); }