Documentation ¶ Index ¶ type Index func New(params *param.Params) (*Index, error) func Open(params *param.Params) (*Index, error) func (idx *Index) Batch(data []map[string]any) error func (idx *Index) Index(uid string, data map[string]any) error func (idx *Index) Len() int func (idx *Index) Search(kw string) ([]map[string]any, error) func (idx *Index) SetCount(blv bleve.Index) *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 Source Files ¶ View all Source files bleve.go Click to show internal directories. Click to hide internal directories.