An idiomatic Go query builder for ElasticSearch https://github.com/aquasecurity/esquery.git
Go to file
Ido Perlmuter 6c8e71c188 Add support for compound queries
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"))
2020-02-20 11:50:11 +02:00
.golangci.yml Initial commit 2020-02-20 11:50:11 +02:00
LICENSE Create LICENSE 2020-02-20 11:46:34 +02:00
boolean.go Add support for compound queries 2020-02-20 11:50:11 +02:00
boolean_test.go Add support for compound queries 2020-02-20 11:50:11 +02:00
boosting.go Add support for compound queries 2020-02-20 11:50:11 +02:00
boosting_test.go Add support for compound queries 2020-02-20 11:50:11 +02:00
constant_score.go Add support for compound queries 2020-02-20 11:50:11 +02:00
constant_score_test.go Add support for compound queries 2020-02-20 11:50:11 +02:00
dis_max.go Add support for compound queries 2020-02-20 11:50:11 +02:00
dis_max_test.go Add support for compound queries 2020-02-20 11:50:11 +02:00
es.go Initial commit 2020-02-20 11:50:11 +02:00
es_test.go Initial commit 2020-02-20 11:50:11 +02:00
go.mod Initial commit 2020-02-20 11:50:11 +02:00
go.sum Initial commit 2020-02-20 11:50:11 +02:00
match.go Initial commit 2020-02-20 11:50:11 +02:00
match_all.go Initial commit 2020-02-20 11:50:11 +02:00
match_all_test.go Initial commit 2020-02-20 11:50:11 +02:00
match_test.go Initial commit 2020-02-20 11:50:11 +02:00
term_level.go Initial commit 2020-02-20 11:50:11 +02:00
term_level_test.go Initial commit 2020-02-20 11:50:11 +02:00