
TermVectorEntry
- Namespace
- Rowles.LeanCorpus.Codecs.TermVectors
- Assembly
- Rowles.LeanCorpus.dll
A single term vector entry: term text, frequency in the document, and positions.
public readonly record struct TermVectorEntry : IEquatable<TermVectorEntry>
- Implements
TermVectorEntry(string, int, int[], byte[]?[]?, int[]?, int[]?)
A single term vector entry: term text, frequency in the document, and positions.
EndOffsets
Optional end character offsets aligned to Positions.
Freq
The number of times the term appears in the document.
Payloads
Optional payload bytes aligned to Positions.
Positions
The token positions at which the term appears.
StartOffsets
Optional start character offsets aligned to Positions.
Term
The term text.