mo2search

package
v0.0.0-...-bef4ad1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOrLoadIndex

func CreateOrLoadIndex(name string)

CreateOrLoadIndex as name

func Delete

func Delete(index string, id string)

func Index

func Index(index string, id string, document interface{})

func JsonRPC

func JsonRPC(url string, mthd string, body interface{}, resp interface{}) error

func Query

func Query(index string, query query.Query, page int, pagesize int, fields []string) *bleve.SearchResult

Query query

Types

This section is empty.

Jump to

Keyboard shortcuts

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