Class Lucene42NormsFormat
Lucene 4.2 score normalization format.
NOTE: this uses the same format as Lucene42DocValuesFormat Numeric DocValues, but with different file extensions, and passing FASTEST for uncompressed encoding: trading off space for performance.
Files:
.nvd
: DocValues data.nvm
: DocValues metadata
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Codecs.Lucene42
Assembly: Lucene.Net.dll
Syntax
public class Lucene42NormsFormat : NormsFormat
Constructors
| Improve this Doc View SourceLucene42NormsFormat()
Calls Lucene42DocValuesFormat(PackedInt32s.FASTEST)
(Lucene42NormsFormat(Single)).
Declaration
public Lucene42NormsFormat()
Lucene42NormsFormat(Single)
Creates a new Lucene42DocValuesFormat with the specified
acceptableOverheadRatio
for NumericDocValues.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Declaration
public Lucene42NormsFormat(float acceptableOverheadRatio)
Parameters
Type | Name | Description |
---|---|---|
System.Single | acceptableOverheadRatio | Compression parameter for numerics. Currently this is only used when the number of unique values is small. |
Methods
| Improve this Doc View SourceNormsConsumer(SegmentWriteState)
Declaration
public override DocValuesConsumer NormsConsumer(SegmentWriteState state)
Parameters
Type | Name | Description |
---|---|---|
SegmentWriteState | state |
Returns
Type | Description |
---|---|
DocValuesConsumer |
Overrides
| Improve this Doc View SourceNormsProducer(SegmentReadState)
Declaration
public override DocValuesProducer NormsProducer(SegmentReadState state)
Parameters
Type | Name | Description |
---|---|---|
SegmentReadState | state |
Returns
Type | Description |
---|---|
DocValuesProducer |