Class AlcoholicMergePolicy
Merge policy for testing, it is like an alcoholic. It drinks (merges) at night, and randomly decides what to drink. During the daytime it sleeps.
if tests pass with this, then they are likely to pass with any bizarro merge policy users might write.
It is a fine bottle of champagne (Ordered by Martijn).
Inheritance
System.Object
AlcoholicMergePolicy
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class AlcoholicMergePolicy : LogMergePolicy
Constructors
Name | Description |
---|---|
AlcoholicMergePolicy(Random) |
Methods
Name | Description |
---|---|
Size(SegmentCommitInfo) |