Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyPostings = errPostings{}
Functions ¶
func NewListPostings ¶
func NewListPostings(list []uint64) *listPostings
func NewMergedPostings ¶
func NewMergedPostings(a, b Postings) *mergedPostings
Types ¶
type InvertListReader ¶
type Postings ¶
type Postings interface { // Next advances the iterator and returns true if another value was found. Next() bool // Seek advances the iterator to value v or greater and returns // true if a value was found. Seek(v uint64) bool // At returns the value at the current iterator position. At() uint64 // Err returns the last error of the iterator. Err() error }
Postings provides iterative access over a postings list.
Click to show internal directories.
Click to hide internal directories.