Class NormsFormat
Encodes/decodes per-document score normalization values.
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
Assembly: Lucene.Net.dll
Syntax
public abstract class NormsFormat
Constructors
| Improve this Doc View SourceNormsFormat()
Sole constructor. (For invocation by subclass constructors, typically implicit.)
Declaration
protected NormsFormat()
Methods
| Improve this Doc View SourceNormsConsumer(SegmentWriteState)
Returns a Doc
Declaration
public abstract DocValuesConsumer NormsConsumer(SegmentWriteState state)
Parameters
Type | Name | Description |
---|---|---|
Segment |
state |
Returns
Type | Description |
---|---|
Doc |
NormsProducer(SegmentReadState)
Returns a Doc
NOTE: by the time this call returns, it must hold open any files it will
need to use; else, those files may be deleted. Additionally, required files
may be deleted during the execution of this call before there is a chance
to open them. Under these circumstances an System.
Declaration
public abstract DocValuesProducer NormsProducer(SegmentReadState state)
Parameters
Type | Name | Description |
---|---|---|
Segment |
state |
Returns
Type | Description |
---|---|
Doc |