Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Index ¶
func Index(request IndexRequest) (string, error)
func SearchDictionary ¶
func SearchDictionary(request SearchDictionaryRequest) ([]types.Entry, error)
SearchDictionary searches a dictionary model using Bleve using it's unique dictionary ID
Types ¶
type IndexRequest ¶
type IndexRequest struct {
Dictionary *types.Dictionary
Overwrite bool
Quiet bool
}
type SearchDictionaryRequest ¶
type SearchDictionaryRequest struct {
Dictionary *types.Dictionary
Query string
Exact bool
}
Click to show internal directories.
Click to hide internal directories.