Constructor MergePolicy
MergePolicy()
Creates a new merge policy instance. Note that if you intend to use it without passing it to IndexWriter, you should call SetIndexWriter(IndexWriter).
Declaration
public MergePolicy()
MergePolicy(Double, Int64)
Creates a new merge policy instance with default settings for m_noCFSRatio and m_maxCFSSegmentSize. This ctor should be used by subclasses using different defaults than the MergePolicy
Declaration
protected MergePolicy(double defaultNoCFSRatio, long defaultMaxCFSSegmentSize)
Parameters
Type | Name | Description |
---|---|---|
System.Double | defaultNoCFSRatio | |
System.Int64 | defaultMaxCFSSegmentSize |