es

package module
v0.0.0-...-778f2a0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: GPL-3.0 Imports: 7 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

go-es

golang elasticSearch

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EsClient *elastic.Client
	Enable   bool
)

Clicent ElasitcSearch连接

Functions

func Count

func Count(i string, q elastic.Query) (count int64)

Count Count

func Get

func Get(i string, size int, q elastic.Query) (objs []*json.RawMessage, err error)

Get 获取

func Put

func Put(i, t string, o interface{}) error

Put 增加

func Start

func Start()

Start 启动

Types

type Kvf

type Kvf struct {
	K, F string
	V    interface{}
}

Kvf Kvf

Jump to

Keyboard shortcuts

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