Method SetMergePolicy
SetMergePolicy(IndexWriterConfig, MergePolicy)
Builder method for MergePolicy.
Declaration
public static IndexWriterConfig SetMergePolicy(this IndexWriterConfig config, MergePolicy mergePolicy)
Parameters
Type | Name | Description |
---|---|---|
IndexWriterConfig | config | this IndexWriterConfig instance |
MergePolicy | mergePolicy |
Returns
Type | Description |
---|---|
IndexWriterConfig | this IndexWriterConfig instance |