elasticsearch

package
v0.0.0-...-8f43f39 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EsClientInterface

type EsClientInterface interface {
	SetClient(*elastic.Client)
	IndexData(string, EsDocumentInterface) (*elastic.IndexResponse, error)
	GetById(string, string) (*elastic.GetResult, error)
	Search(string, elastic.Query, int) (*elastic.SearchResult, error)
	DeleteByQuery(string, elastic.Query) error
}
var EsClient EsClientInterface = &esClient{}

type EsDocumentInterface

type EsDocumentInterface interface {
	GetStringId() string
}

Jump to

Keyboard shortcuts

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