Documentation ¶ Index ¶ type Index func New(cfg *param.Params) *Index func Open(cfg *param.Params) *Index func (idx *Index) Batch(data []map[string]any) error func (idx *Index) Index(_ string, data map[string]any) error func (idx *Index) Len() int func (idx *Index) Search(query string) ([]map[string]any, error) func (idx *Index) String(i int) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Index ¶ type Index struct { Data []map[string]any *param.Params // contains filtered or unexported fields } func New ¶ func New(cfg *param.Params) *Index func Open ¶ func Open(cfg *param.Params) *Index func (*Index) Batch ¶ func (idx *Index) Batch(data []map[string]any) error func (*Index) Index ¶ func (idx *Index) Index(_ string, data map[string]any) error func (*Index) Len ¶ func (idx *Index) Len() int func (*Index) Search ¶ func (idx *Index) Search(query string) ([]map[string]any, error) func (*Index) String ¶ func (idx *Index) String(i int) string Source Files ¶ View all Source files fuzzy.go Click to show internal directories. Click to hide internal directories.