Method SetIndexDeletionPolicy
SetIndexDeletionPolicy(IndexWriterConfig, IndexDeletionPolicy)
Builder method for IndexDeletionPolicy.
Declaration
public static IndexWriterConfig SetIndexDeletionPolicy(this IndexWriterConfig config, IndexDeletionPolicy deletionPolicy)
Parameters
Type | Name | Description |
---|---|---|
IndexWriterConfig | config | this IndexWriterConfig instance |
IndexDeletionPolicy | deletionPolicy |
Returns
Type | Description |
---|---|
IndexWriterConfig | this IndexWriterConfig instance |