search

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: AGPL-3.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SearchSession

type SearchSession interface {
	Start()
	Index(indexName string, mds ...interface{}) error
	Delete(indexName string, ids ...string) error
	Update(indexName string, mds ...interface{}) error
	Get(indexName string, id string) (map[string]interface{}, error)
	Query(indexName string, query string, from int, limit int) (map[string]interface{}, error)
}

func GetSearchSession

func GetSearchSession() SearchSession

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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