Documentation ¶
Overview ¶
Package trigram is a simple trigram index.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Index ¶
Index is a trigram index.
func (Index) AddTrigrams ¶
AddTrigrams adds a slice of trigrams under the given ID.
func (Index) QueryTrigrams ¶
QueryTrigrams returns a slice of IDs that match the given set of trigrams.
Click to show internal directories.
Click to hide internal directories.