Class CompressingTermVectorsWriter
TermVectorsWriter for CompressingTermVectorsFormat.
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.Compressing
Assembly: Lucene.Net.dll
Syntax
public sealed class CompressingTermVectorsWriter : TermVectorsWriter, IDisposable
Constructors
| Improve this Doc View SourceCompressingTermVectorsWriter(Directory, SegmentInfo, String, IOContext, String, CompressionMode, Int32)
Sole constructor.
Declaration
public CompressingTermVectorsWriter(Directory directory, SegmentInfo si, string segmentSuffix, IOContext context, string formatName, CompressionMode compressionMode, int chunkSize)
Parameters
Type | Name | Description |
---|---|---|
Directory | directory | |
SegmentInfo | si | |
System.String | segmentSuffix | |
IOContext | context | |
System.String | formatName | |
CompressionMode | compressionMode | |
System.Int32 | chunkSize |
Properties
| Improve this Doc View SourceComparer
Declaration
public override IComparer<BytesRef> Comparer { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IComparer<BytesRef> |
Overrides
Methods
| Improve this Doc View SourceAbort()
Declaration
public override void Abort()
Overrides
| Improve this Doc View SourceAddPosition(Int32, Int32, Int32, BytesRef)
Declaration
public override void AddPosition(int position, int startOffset, int endOffset, BytesRef payload)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | position | |
System.Int32 | startOffset | |
System.Int32 | endOffset | |
BytesRef | payload |
Overrides
| Improve this Doc View SourceAddProx(Int32, DataInput, DataInput)
Declaration
public override void AddProx(int numProx, DataInput positions, DataInput offsets)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | numProx | |
DataInput | positions | |
DataInput | offsets |
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 SourceFinish(FieldInfos, Int32)
Declaration
public override void Finish(FieldInfos fis, int numDocs)
Parameters
Type | Name | Description |
---|---|---|
FieldInfos | fis | |
System.Int32 | numDocs |
Overrides
| Improve this Doc View SourceFinishDocument()
Declaration
public override void FinishDocument()
Overrides
| Improve this Doc View SourceFinishField()
Declaration
public override void FinishField()
Overrides
| Improve this Doc View SourceMerge(MergeState)
Declaration
public override int Merge(MergeState mergeState)
Parameters
Type | Name | Description |
---|---|---|
MergeState | mergeState |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
| Improve this Doc View SourceStartDocument(Int32)
Declaration
public override void StartDocument(int numVectorFields)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | numVectorFields |
Overrides
| Improve this Doc View SourceStartField(FieldInfo, Int32, Boolean, Boolean, Boolean)
Declaration
public override void StartField(FieldInfo info, int numTerms, bool positions, bool offsets, bool payloads)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | info | |
System.Int32 | numTerms | |
System.Boolean | positions | |
System.Boolean | offsets | |
System.Boolean | payloads |
Overrides
| Improve this Doc View SourceStartTerm(BytesRef, Int32)
Declaration
public override void StartTerm(BytesRef term, int freq)
Parameters
Type | Name | Description |
---|---|---|
BytesRef | term | |
System.Int32 | freq |
Overrides
Implements
System.IDisposable