[Update] Struc ESQuery

This commit is contained in:
trunglt251292 2022-04-25 09:22:33 +07:00
parent da76e9e54d
commit ad3775a95c
1 changed files with 1 additions and 2 deletions

View File

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