blv

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Index

type Index struct {
	*param.Params
	// contains filtered or unexported fields
}

func New

func New(params *param.Params) (*Index, error)

func Open

func Open(params *param.Params) (*Index, error)

func (*Index) Batch

func (idx *Index) Batch(data []map[string]any) error

func (*Index) Index

func (idx *Index) Index(uid string, data map[string]any) error

func (*Index) Len

func (idx *Index) Len() int

func (*Index) Search

func (idx *Index) Search(kw string) ([]map[string]any, error)

func (*Index) SetCount

func (idx *Index) SetCount(blv bleve.Index) *Index

Jump to

Keyboard shortcuts

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