Class Lucene40NormsFormat
Lucene 4.0 Norms Format.
Files:.nrm.cfs: compound container (CompoundFileDirectory).nrm.cfe: compound entries (CompoundFileDirectory)
Note
This API is experimental and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Codecs.Lucene40
Assembly: Lucene.Net.dll
Syntax
[Obsolete("Only for reading old 4.0 and 4.1 segments")]
public class Lucene40NormsFormat : NormsFormat
  Constructors
Lucene40NormsFormat()
Sole constructor.
Declaration
public Lucene40NormsFormat()
  See Also
Methods
NormsConsumer(SegmentWriteState)
Returns a DocValuesConsumer to write norms to the index.
Declaration
public override DocValuesConsumer NormsConsumer(SegmentWriteState state)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SegmentWriteState | state | 
Returns
| Type | Description | 
|---|---|
| DocValuesConsumer | 
Overrides
See Also
NormsProducer(SegmentReadState)
Returns a DocValuesProducer to read norms from the index.
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 IOException should be thrown by the implementation. IOException are expected and will automatically cause a retry of the segment opening logic with the newly revised segments.Declaration
public override DocValuesProducer NormsProducer(SegmentReadState state)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SegmentReadState | state | 
Returns
| Type | Description | 
|---|---|
| DocValuesProducer |