The methods of the LogDocMergePolicy class are listed below. For a complete list of LogDocMergePolicy class members, see the LogDocMergePolicy Members topic.
![]() | |
![]() | Determines whether the specified Object is equal to the current Object. |
![]() | Checks if any merges are now necessary and returns a {@link MergePolicy.MergeSpecification} if so. A merge is necessary when there are more than {@link #setMergeFactor} segments at a given level. When multiple levels have too many segments, this method will return multiple merges, allowing the {@link MergeScheduler} to use concurrency. |
![]() | |
![]() | Finds merges necessary to expunge all deletes from the index. We simply merge adjacent segments that have deletes, up to mergeFactor at a time. |
![]() | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
![]() | Returns the largest segment (measured by document count) that may be merged with other segments. |
![]() | Returns the number of segments that are merged at once and also controls the total number of segments allowed to accumulate in the index. |
![]() | Get the minimum size for a segment to remain un-merged. |
![]() | Gets the Type of the current instance. |
![]() | Returns true if newly flushed and newly merge doc store segment files (term vectors and stored fields) |
![]() | Returns true if newly flushed and newly merge segments |
![]() | Determines the largest segment (measured by document count) that may be merged with other segments. Small values (e.g., less than 10,000) are best for interactive indexing, as this limits the length of pauses while indexing to a few seconds. Larger values are best for batched indexing and speedier searches. The default value is {@link Integer#MAX_VALUE}. The default merge policy ({@link LogByteSizeMergePolicy}) also allows you to set this limit by net size (in MB) of the segment, using {@link LogByteSizeMergePolicy#setMaxMergeMB}. |
![]() | |
![]() | Sets the minimum size for the lowest level segments. Any segments below this size are considered to be on the same level (even if they vary drastically in size) and will be merged whenever there are mergeFactor of them. This effectively truncates the "long tail" of small segments that would otherwise be created into a single level. If you set this too large, it could greatly increase the merging cost during indexing (if you flush many small segments). |
![]() | Sets whether compound file format should be used for newly flushed and newly merged doc store segment files (term vectors and stored fields). |
![]() | Sets whether compound file format should be used for newly flushed and newly merged segments. |
![]() | Returns a String that represents the current Object. |
![]() | |
![]() |
![]() | 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. |
LogDocMergePolicy Class | Lucene.Net.Index Namespace