New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query / filter/ aggregation "X" is not supported #65
Comments
Big 👍 for custom aggregations. The syntax there is less predictable and prior to creating #64, that was the feature I was looking for. With filters & queries: My feeling is that the syntax there is very predictable, so I'd generally expect a |
Starting to look at what it would take to put together a generic api for queries/filters, I started collecting notes trying to categorize all the different forms a query clause can take. Query/Filter structures I've observed:No field (Match All query):
Field but no value:
Field with value:
Field with value and more options:
Join queries such as nested query:
|
bodybuilder 2 is in beta! https://github.com/danpaz/bodybuilder/releases/tag/v2.0.0-beta.1 |
Right now bodybuilder depends on having a definition for every filter/query/aggregation in the elasticsearch query dsl (which is a lot). This works, and gives a high degree of control over how to construct each filter/query/aggregation clause. However,
Proposals
Some ideas I had to improve this:
This way bodybuilder can continue to be useful while users wait for a PR to add their definition is merged.
Still thinking these ideas through and looking for feedback from anyone on this!
The text was updated successfully, but these errors were encountered: