The MergePolicy type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| MergePolicy | Initializes a new instance of the MergePolicy class |
Methods
| Name | Description | |
|---|---|---|
| Close | Release all resources for the policy. | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| FindMerges | Determine what set of merge operations are now necessary on the index.
{@link IndexWriter} calls this whenever there is a change to the segments.
This call is always synchronized on the {@link IndexWriter} instance so
only one thread at a time will call this method.
| |
| FindMergesForOptimize | Determine what set of merge operations is necessary in order to optimize
the index. {@link IndexWriter} calls this when its
{@link IndexWriter#Optimize()} method is called. This call is always
synchronized on the {@link IndexWriter} instance so only one thread at a
time will call this method.
| |
| FindMergesToExpungeDeletes | Determine what set of merge operations is necessary in order to expunge all
deletes from the index.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | (Inherited from Object.) | |
| UseCompoundDocStore | Returns true if the doc store files should use the
compound file format.
| |
| UseCompoundFile | Returns true if a newly flushed (not from merge)
segment should use the compound file format.
|
Fields
| Name | Description | |
|---|---|---|
| writer |