-
-
Save mottaquikarim/1cd5fd5a8fa08e6646a486c7872bb607 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// BoolQuery Elastic bool query | |
type BoolQuery struct { | |
Bool BoolQueryParams `json:"bool"` | |
} | |
// BoolQueryParams params for an Elastic bool query | |
type BoolQueryParams struct { | |
Must interface{} `json:"must,omitempty"` | |
Should interface{} `json:"should,omitempty"` | |
Filter interface{} `json:"filter,omitempty"` | |
MinimumShouldMatch int `json:"minimum_should_match,omitempty"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment