The methods of the MergePolicy class are listed below. For a complete list of MergePolicy class members, see the MergePolicy Members topic.
![]() | Release all resources for the policy. |
![]() | Determines whether the specified Object is equal to the current Object. |
![]() | 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. |
![]() | |
![]() | Determine what set of merge operations is necessary in order to expunge all deletes from the index. |
![]() | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
![]() | Gets the Type of the current instance. |
![]() | Returns a String that represents the current Object. |
![]() | Returns true if the doc store files should use the compound file format. |
![]() | Returns true if a newly flushed (not from merge) segment should use the compound file format. |
![]() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
![]() | Creates a shallow copy of the current Object. |
MergePolicy Class | Lucene.Net.Index Namespace