fuzzy

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2023 License: MIT Imports: 8 Imported by: 0

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(db store.IndexedStore, q string, limit int) *SearchResult

Search : function to perform the fuzzy search

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL