Комментарии:
Hi, i have one doubt that is how to include text fields in aggregate query in elasticsearch version 1
ОтветитьVery nice and useful video, thank you. 👍👍☺️
Ответитьhey man thanks for this nice discussion. I have a problem with pipeline aggregation. I want to use global number of total docs in bucket script. But getting the error "No aggregation found for path [global_total_docs>total_docs]"
can you please help me to identify the right aggregation path? here is my query
```GET bl_log_data/_search
{
"size": 0,
"aggs": {
"global_total_docs": {
"global": {},
"aggs": {
"total_docs": {
"value_count": {
"field": "_index"
}
}
}
},
"group_by_keyword": {
"terms": {
"field": "response_code.keyword"
},
"aggs": {
"percentage": {
"bucket_script": {
"buckets_path": {
"doc_count": "_count",
"total_docs": "global_total_docs>total_docs"
},
"script": "params.doc_count / params.total_docs * 100"
}
}
}
}
}
}```
Thanks it was informative
Ответитьhow to apply pagination to aggregation bucket result ,because i am getting max bucket aggregation exception .
ОтветитьEssentially, essentially, essentially, essentially what aggregation is essentially..
ОтветитьHi,
I am facing circuit_brraker exception when I run my aggregation query.Can you please help me to understand when we will get this error?
how to index at different field?
ОтветитьGreat work! I've been using this pkg for a little bit and it's quick. Is "aggreation" a typo for "aggregation", in the pkg?
ОтветитьHow to store the output of an aggreagtion into an index ?
ОтветитьHow we can limit the documents in scripted_metric.? ie we have 100 documents matching the query but i only want to run the aggregation on first 10 records.
ОтветитьBest video on elastic search...
Ответить