Benchmarking agg query

Hello Daniel,
While using Rally for benchmarking if I have function score or "aggs" in my query, my search error rate goes to 100%. I was wondering if we can use them while benchmarking or not .
For eg.
when I use below code , it works fine
"query": {
"bool": {
...
}
}

but when I use this, I get error rate of 100% :
{
"query": {
"function_score": {
"functions": [
......
],
"query": {
.....
}
},
"score_mode": "sum",
"boost_mode": "sum"
}
},
"size": 300,
"aggs": {
"global_buckets": {
"global": {},
"aggs": {
.....
}
}
},
"_source": [... ]
}

You can use aggregations. Here is an example from the standard geopoints track. Try it out separately though to make sure the syntax is correct.

Thank you so much Christian

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.