Documentation
¶
Index ¶
Constants ¶
View Source
const INDEX_BATCH_SIZE int = 1000
View Source
const SEARCH_SCORE_THRESHOLD float64 = 0.5
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
func New ¶
New opens a Bleve index and returns Index. In case an index is not found at the given path, a new one is created. In case of an error, nil is returned, and the error object set accordingly.
func (*Index) Query ¶
Query takes a Bleve search request and returns a songlist with all matching songs.
func (*Index) SetVersion ¶
SetVersion writes the MPD library version to the state file.
Directories
¶
Path | Synopsis |
---|---|
filters
|
|
unicodestrip
Package unicodestrip provides a Bleve keyword filter which decomposes unicode strings.
|
Package unicodestrip provides a Bleve keyword filter which decomposes unicode strings. |
Click to show internal directories.
Click to hide internal directories.