es

package
v0.0.0-...-2486f02 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BatchGetProductById

func BatchGetProductById(ctx context.Context, productIds []int64) ([]*entity.ProductEntity, error)

func GetESClient

func GetESClient() *elastic.Client

GetESClient get ES client

func SearchProduct

func SearchProduct(ctx context.Context, filter map[string]interface{}) ([]*entity.ProductEntity, error)

func UpsertProductES

func UpsertProductES(ctx context.Context, productId int64, product *entity.ProductEntity) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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