Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElasticSearch ¶
type ElasticSearch struct {
// contains filtered or unexported fields
}
type ISearch ¶
type ISearch interface { Search(index string, query any) (any, error) Index(index string, doc map[string]any) (string, error) Update(index, id string, doc map[string]any) error Delete(index string, id string) error }
func NewElasticSearch ¶
func NewElasticSearch() ISearch
func NewZincSearch ¶
func NewZincSearch() ISearch
type PineZincSearch ¶
type PineZincSearch struct {
// contains filtered or unexported fields
}
func (*PineZincSearch) Delete ¶
func (p *PineZincSearch) Delete(index, id string) error
type SearchParams ¶
Click to show internal directories.
Click to hide internal directories.