You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe alternatives you've considered
Create an extra "fields" field with the list of fields in the object, and then run a "terms" aggregation query. This probably works, but it will increase the network traffic through our Kafka pipeline and the index sizes.
Additional context
We need the count to be for all values even if repeated.
The aggregation counts must correspond to the query provided.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We want to obtain the number of field occurrences for a query search.
For example:
If I send the following query to filter the results and also get aggregations for them (how many times the field is present in the results)
The current result is:
"memory" works because it is a number.
"hostname" doesn't work because it is a text field.
Describe the solution you'd like
The result should be
Where hostname can be counted on.
Describe alternatives you've considered
Create an extra "fields" field with the list of fields in the object, and then run a "terms" aggregation query. This probably works, but it will increase the network traffic through our Kafka pipeline and the index sizes.
Additional context
We need the count to be for all values even if repeated.
The aggregation counts must correspond to the query provided.
The text was updated successfully, but these errors were encountered: