Class Lucene42NormsFormat
Lucene 4.2 score normalization format.
NOTE: this uses the same format as Lucene42Doc
Files:
.nvd
: DocValues data.nvm
: DocValues metadata
Namespace: Lucene.Net.Codecs.Lucene42
Assembly: Lucene.Net.dll
Syntax
public class Lucene42NormsFormat : NormsFormat
Constructors
| Improve this Doc View SourceLucene42NormsFormat()
Calls Lucene42DocValuesFormat(PackedInt32s.FASTEST)
(Lucene42Norms
Declaration
public Lucene42NormsFormat()
Lucene42NormsFormat(Single)
Creates a new Lucene42DocacceptableOverheadRatio
for Numeric
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Declaration
public Lucene42NormsFormat(float acceptableOverheadRatio)
Parameters
Type | Name | Description |
---|---|---|
System. |
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 |
---|---|---|
Segment |
state |
Returns
Type | Description |
---|---|
Doc |
Overrides
| Improve this Doc View SourceNormsProducer(SegmentReadState)
Declaration
public override DocValuesProducer NormsProducer(SegmentReadState state)
Parameters
Type | Name | Description |
---|---|---|
Segment |
state |
Returns
Type | Description |
---|---|
Doc |