The methods of the MergePolicy class are listed below. For a complete list of MergePolicy class members, see the MergePolicy Members topic.
Close | Release all resources for the policy. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
FindMerges | Determine what set of merge operations are now necessary on the index. The IndexWriter calls this whenever there is a change to the segments. This call is always synchronized on the IndexWriter instance so only one thread at a time will call this method. |
FindMergesForOptimize | |
FindMergesToExpungeDeletes | Determine what set of merge operations is necessary in order to expunge all deletes from the index. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
ToString (inherited from Object) | Returns a String that represents the current 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. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
MergePolicy Class | Lucene.Net.Index Namespace