From da76e9e54d7a24cfa39655971bd6513b8030febd Mon Sep 17 00:00:00 2001 From: trunglt251292 Date: Mon, 25 Apr 2022 08:54:36 +0700 Subject: [PATCH] [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