Documentation ¶
Overview ¶
Package index provides an inverted index that supports fulltext search.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
Index maps terms to object keys.
type PostingsList ¶
type PostingsList []Posting
func (PostingsList) Len ¶
func (p PostingsList) Len() int
func (PostingsList) Less ¶
func (p PostingsList) Less(i, j int) bool
func (PostingsList) Swap ¶
func (p PostingsList) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.