hi team
may i know how to solve this bug Error: [parsing_excetion] no [query] registere for [aggs], with {line=1 & col=590}
hi team
may i know how to solve this bug Error: [parsing_excetion] no [query] registere for [aggs], with {line=1 & col=590}
Don't use aggs inside the query part.
If you don't succeed, share the full query.
yes still don't succeed. let me share
{
"aggs": {
"my_terms_agg": {
"terms": {
"script": {
"inline": "doc['first.keyword']"
}
}
}
}
}
{
"aggs": {
"aggs": {
"terms": {
"field": "first.keyword"
}
}
}
}
i can run dev tool but exception raises at discovery tab when i use as a filter
You can't define an aggregation as a filter. That's why it is failing I guess.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.