Class MemoryPostingsFormat
Stores terms & postings (docs, positions, payloads) in
RAM, using an FST.
Note that this codec implements advance as a linear
scan! This means if you store large fields in here,
queries that rely on advance will (AND BooleanQuery,
PhraseQuery) will be relatively slow!
@lucene.experimental
Inheritance
System.Object
MemoryPostingsFormat
Assembly: Lucene.Net.Codecs.dll
Syntax
public sealed class MemoryPostingsFormat : PostingsFormat
Constructors
|
Improve this Doc
View Source
MemoryPostingsFormat()
Declaration
public MemoryPostingsFormat()
|
Improve this Doc
View Source
MemoryPostingsFormat(Boolean, Single)
Declaration
public MemoryPostingsFormat(bool doPackFST, float acceptableOverheadRatio)
Parameters
Type |
Name |
Description |
System.Boolean |
doPackFST |
true if a packed FST should be built.
NOTE: packed FSTs are limited to ~2.1 GB of postings.
|
System.Single |
acceptableOverheadRatio |
Allowable overhead for packed s
during FST construction.
|
Methods
|
Improve this Doc
View Source
FieldsConsumer(SegmentWriteState)
Declaration
public override FieldsConsumer FieldsConsumer(SegmentWriteState state)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
FieldsProducer(SegmentReadState)
Declaration
public override FieldsProducer FieldsProducer(SegmentReadState state)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides