GetCurrentPositions
- Namespace
- Rowles.LeanLucene.Codecs.Postings
- Assembly
- Rowles.LeanLucene.dll
Methods
GetCurrentPositions()
Returns positions for the current document. Supports both eager (pre-decoded) and lazy (on-demand) position data. Returns empty span if positions were not available. Caches the last decoded result to avoid redundant VarInt decoding when called multiple times for the same document (common in phrase evaluation).