Merge 37bbc43bbabd5e5f422065a0b3f5449580b84af5 into 49a92fc25e9dab2ffe10380889ca01b8b21cb557

This commit is contained in:
Bin 2023-07-12 02:45:11 +00:00 committed by GitHub
commit 054a1015bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"`