Class CompressingCodec
A codec that uses for its stored
fields and delegates to for everything else.
Inheritance
System.Object
CompressingCodec
Assembly: Lucene.Net.TestFramework.dll
Syntax
public abstract class CompressingCodec : FilterCodec
Constructors
|
Improve this Doc
View Source
CompressingCodec(CompressionMode, Int32)
Creates a compressing codec with an empty segment suffix.
Declaration
public CompressingCodec(CompressionMode compressionMode, int chunkSize)
Parameters
Type |
Name |
Description |
CompressionMode |
compressionMode |
|
System.Int32 |
chunkSize |
|
|
Improve this Doc
View Source
CompressingCodec(String, CompressionMode, Int32)
Creates a compressing codec with a given segmentSuffix
.
Declaration
public CompressingCodec(string segmentSuffix, CompressionMode compressionMode, int chunkSize)
Parameters
Type |
Name |
Description |
System.String |
segmentSuffix |
|
CompressionMode |
compressionMode |
|
System.Int32 |
chunkSize |
|
Properties
|
Improve this Doc
View Source
Declaration
public override StoredFieldsFormat StoredFieldsFormat { get; }
Property Value
Type |
Description |
StoredFieldsFormat |
|
|
Improve this Doc
View Source
Declaration
public override TermVectorsFormat TermVectorsFormat { get; }
Property Value
Type |
Description |
TermVectorsFormat |
|
Methods
|
Improve this Doc
View Source
RandomInstance(Random)
Declaration
public static CompressingCodec RandomInstance(Random random)
Parameters
Type |
Name |
Description |
Random |
random |
|
Returns
|
Improve this Doc
View Source
RandomInstance(Random, Boolean)
Declaration
public static CompressingCodec RandomInstance(Random random, bool withSegmentSuffix)
Parameters
Type |
Name |
Description |
Random |
random |
|
System.Boolean |
withSegmentSuffix |
|
Returns
|
Improve this Doc
View Source
RandomInstance(Random, Int32, Boolean)
Create a random instance.
Declaration
public static CompressingCodec RandomInstance(Random random, int chunkSize, bool withSegmentSuffix)
Parameters
Type |
Name |
Description |
Random |
random |
|
System.Int32 |
chunkSize |
|
System.Boolean |
withSegmentSuffix |
|
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|