[Update] Struc ESQuery

This commit is contained in:
trunglt251292 2022-04-25 08:54:36 +07:00
parent 9af81df281
commit da76e9e54d
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@ type DeleteDataPayload struct {
// ESQuery // ESQuery
// Query support to search document // Query support to search document
type ESQuery struct { type ESQuery struct {
IsPrefix bool // Search with prefix
IsMatch bool // Search with match
Index string // Index Index string // Index
Page int64 Page int64
Limit int64 Limit int64