An idiomatic Go query builder for ElasticSearch
https://github.com/aquasecurity/esquery.git
6c8e71c188
This commit adds support for the compound queries "bool", "boosting", "constant_score" and "dis_max". The "function_score" query is not supported yet. Compound queries are simple. They act just like simple queries, except that they are recursive, wrapping other simple/compound queries. For example: esquery.Bool(). Must(Term("user", "kimchy"), Term("author", "kimchy")). Filter(Term("tag", "tech")) |
||
---|---|---|
.golangci.yml | ||
LICENSE | ||
boolean.go | ||
boolean_test.go | ||
boosting.go | ||
boosting_test.go | ||
constant_score.go | ||
constant_score_test.go | ||
dis_max.go | ||
dis_max_test.go | ||
es.go | ||
es_test.go | ||
go.mod | ||
go.sum | ||
match.go | ||
match_all.go | ||
match_all_test.go | ||
match_test.go | ||
term_level.go | ||
term_level_test.go |