Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FoldTransformer ¶
func FoldTransformer() transform.Transformer
func NormalizeTransformer ¶
func NormalizeTransformer() transform.Transformer
func NormalizedFoldTransformer ¶
func NormalizedFoldTransformer() transform.Transformer
func StringTransform ¶
func StringTransform(s string, t transform.Transformer) (transformed string)
Types ¶
type SearchResult ¶
type SearchResult struct { Results []result BestScore int }
SearchResult : Current search results wrapper
func Search ¶
func Search(db store.IndexedStore, q string, limit int) *SearchResult
Search : function to perform the fuzzy search
Click to show internal directories.
Click to hide internal directories.