Skip to content

adds key_as_string for boolean aggregation result.#138

Merged
jillesvangurp merged 1 commit intojillesvangurp:masterfrom
AnyRoad:term_agg_key_as_string
May 8, 2024
Merged

adds key_as_string for boolean aggregation result.#138
jillesvangurp merged 1 commit intojillesvangurp:masterfrom
AnyRoad:term_agg_key_as_string

Conversation

@AnyRoad
Copy link
Copy Markdown
Contributor

@AnyRoad AnyRoad commented May 8, 2024

From "Boolean field type" docs:
Aggregations like the terms aggregation use 1 and 0 for the key, and the strings "true" and "false" for the key_as_string.

https://www.elastic.co/guide/en/elasticsearch/reference/current/boolean.html

Sorry for many PRs at once 🙏 we recently started to use the library actively and have found out few parts which can be improved.

From "Boolean field type" docs:
Aggregations like the terms aggregation use 1 and 0 for the key,
and the strings "true" and "false" for the key_as_string.

https://www.elastic.co/guide/en/elasticsearch/reference/current/boolean.html
@jillesvangurp jillesvangurp merged commit 6beaeed into jillesvangurp:master May 8, 2024
@jillesvangurp
Copy link
Copy Markdown
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants