Class Lucene40PostingsReader
Concrete class that reads the 4.0 frq/prox postings format.
Implements
System.IDisposable
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.Lucene40
Assembly: Lucene.Net.dll
Syntax
[Obsolete("Only for reading old 4.0 segments")]
public class Lucene40PostingsReader : PostingsReaderBase, IDisposable
Constructors
| Improve this Doc View SourceLucene40PostingsReader(Directory, FieldInfos, SegmentInfo, IOContext, String)
Sole constructor.
Declaration
public Lucene40PostingsReader(Directory dir, FieldInfos fieldInfos, SegmentInfo segmentInfo, IOContext ioContext, string segmentSuffix)
Parameters
Type | Name | Description |
---|---|---|
Directory | dir | |
FieldInfos | fieldInfos | |
SegmentInfo | segmentInfo | |
IOContext | ioContext | |
System.String | segmentSuffix |
Methods
| Improve this Doc View SourceCheckIntegrity()
Declaration
public override void CheckIntegrity()
Overrides
| Improve this Doc View SourceDecodeTerm(Int64[], DataInput, FieldInfo, BlockTermState, Boolean)
Declaration
public override void DecodeTerm(long[] longs, DataInput in, FieldInfo fieldInfo, BlockTermState termState, bool absolute)
Parameters
Type | Name | Description |
---|---|---|
System.Int64[] | longs | |
DataInput | in | |
FieldInfo | fieldInfo | |
BlockTermState | termState | |
System.Boolean | absolute |
Overrides
| Improve this Doc View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
| Improve this Doc View SourceDocs(FieldInfo, BlockTermState, IBits, DocsEnum, DocsFlags)
Declaration
public override DocsEnum Docs(FieldInfo fieldInfo, BlockTermState termState, IBits liveDocs, DocsEnum reuse, DocsFlags flags)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | fieldInfo | |
BlockTermState | termState | |
IBits | liveDocs | |
DocsEnum | reuse | |
DocsFlags | flags |
Returns
Type | Description |
---|---|
DocsEnum |
Overrides
| Improve this Doc View SourceDocsAndPositions(FieldInfo, BlockTermState, IBits, DocsAndPositionsEnum, DocsAndPositionsFlags)
Declaration
public override DocsAndPositionsEnum DocsAndPositions(FieldInfo fieldInfo, BlockTermState termState, IBits liveDocs, DocsAndPositionsEnum reuse, DocsAndPositionsFlags flags)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | fieldInfo | |
BlockTermState | termState | |
IBits | liveDocs | |
DocsAndPositionsEnum | reuse | |
DocsAndPositionsFlags | flags |
Returns
Type | Description |
---|---|
DocsAndPositionsEnum |
Overrides
| Improve this Doc View SourceInit(IndexInput)
Declaration
public override void Init(IndexInput termsIn)
Parameters
Type | Name | Description |
---|---|---|
IndexInput | termsIn |
Overrides
| Improve this Doc View SourceNewTermState()
Declaration
public override BlockTermState NewTermState()
Returns
Type | Description |
---|---|
BlockTermState |
Overrides
| Improve this Doc View SourceRamBytesUsed()
Declaration
public override long RamBytesUsed()
Returns
Type | Description |
---|---|
System.Int64 |
Overrides
Implements
System.IDisposable