Class TermVectorsFormat
Controls the format of term vectors.
Namespace: Lucene.Net.Codecs
Assembly: Lucene.Net.dll
Syntax
public abstract class TermVectorsFormat : object
Constructors
| Improve this Doc View SourceTermVectorsFormat()
Sole constructor. (For invocation by subclass constructors, typically implicit.)
Declaration
protected TermVectorsFormat()
Methods
| Improve this Doc View SourceVectorsReader(Directory, SegmentInfo, FieldInfos, IOContext)
Returns a TermVectorsReader to read term vectors.
Declaration
public abstract TermVectorsReader VectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context)
Parameters
Type | Name | Description |
---|---|---|
Directory | directory | |
SegmentInfo | segmentInfo | |
FieldInfos | fieldInfos | |
IOContext | context |
Returns
Type | Description |
---|---|
TermVectorsReader |
VectorsWriter(Directory, SegmentInfo, IOContext)
Returns a TermVectorsWriter to write term vectors.
Declaration
public abstract TermVectorsWriter VectorsWriter(Directory directory, SegmentInfo segmentInfo, IOContext context)
Parameters
Type | Name | Description |
---|---|---|
Directory | directory | |
SegmentInfo | segmentInfo | |
IOContext | context |
Returns
Type | Description |
---|---|
TermVectorsWriter |