Class RandomCodec
Codec that assigns per-field random postings formats.
The same field/format assignment will happen regardless of order, a hash is computed up front that determines the mapping. this means fields can be put into things like HashSets and added to documents in different orders and the test will still be deterministic and reproducable.
Inheritance
System.Object
RandomCodec
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class RandomCodec : Lucene46.Lucene46Codec
Constructors
Name | Description |
---|---|
RandomCodec(Random) | |
RandomCodec(Random, ISet<String>) |
Fields
Name | Description |
---|---|
dvFormatNames | unique set of docvalues format names this codec knows about |
formatNames | unique set of format names this codec knows about |
Methods
Name | Description |
---|---|
GetDocValuesFormatForField(String) | |
GetPostingsFormatForField(String) | |
ToString() |