From da76e9e54d7a24cfa39655971bd6513b8030febd Mon Sep 17 00:00:00 2001 From: trunglt251292 Date: Mon, 25 Apr 2022 08:54:36 +0700 Subject: [PATCH 1/2] [Update] Struc ESQuery --- struct.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/struct.go b/struct.go index c4e5ddc..79ed704 100644 --- a/struct.go +++ b/struct.go @@ -36,6 +36,8 @@ type DeleteDataPayload struct { // ESQuery // Query support to search document type ESQuery struct { + IsPrefix bool // Search with prefix + IsMatch bool // Search with match Index string // Index Page int64 Limit int64 From ad3775a95cfc447f413316f33b62b7c07bb175d6 Mon Sep 17 00:00:00 2001 From: trunglt251292 Date: Mon, 25 Apr 2022 09:22:33 +0700 Subject: [PATCH 2/2] [Update] Struc ESQuery --- struct.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/struct.go b/struct.go index 79ed704..417e5c9 100644 --- a/struct.go +++ b/struct.go @@ -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