Update query_multi_match.go #1

Merged
maxim.yanchuk merged 1 commits from query_multi_match into master 2023-10-30 12:00:23 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ func (q *MultiMatchQuery) Map() map[string]interface{} {
type multiMatchParams struct {
Qry interface{} `structs:"query"`
Fields []string `structs:"fields"`
Fields []string `structs:"fields,omitempty"`
Type MultiMatchType `structs:"type,string,omitempty"`
TieBrk float32 `structs:"tie_breaker,omitempty"`
Boost float32 `structs:"boost,omitempty"`