Class Lucene41PostingsReader
Concrete class that reads docId(maybe frq,pos,offset,payloads) list with postings format.
Note
This API is experimental and might change in incompatible ways in the next release.
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.Lucene41
Assembly: Lucene.Net.dll
Syntax
public sealed class Lucene41PostingsReader : PostingsReaderBase, IDisposable
Constructors
| Improve this Doc View SourceLucene41PostingsReader(Directory, FieldInfos, SegmentInfo, IOContext, String)
Sole constructor.
Declaration
public Lucene41PostingsReader(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
See Also
Lucene.Net.Codecs.Lucene41.Lucene41SkipReader