We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting the sort key before the terms key inside the aggs node leads to an error. If the order is opposite, all works fine.
sort
terms
aggs
curl -X GET localhost:9308/cli -d 'create table test(f int)' Query OK, 0 rows affected (0.012 sec) curl -sX POST http://localhost:9308/search -d ' { "index":"test", "aggs":{ "group_property":{ "terms":{ "field":"f" }, "sort":[ { "count(*)":{ "order":"desc" } } ] } } }' {"took":0,"timed_out":false,"hits":{"total":0,"total_relation":"eq","hits":[]},"aggregations":{"group_property":{"buckets":[]}}} curl -sX POST http://localhost:9308/search -d ' { "index":"test", "aggs":{ "group_property":{ "sort":[ { "count(*)":{ "order":"desc" } } ], "terms":{ "field":"f" } } } }' {"error":"\"aggs\" bucket 'group_property' should be an object"}
Manticore 6.3.3 1de3cb364@24062617 dev
Ununtu 22.04 LTS
Yes
To be completed by the assignee. Check off tasks that have been completed or are not applicable.
The text was updated successfully, but these errors were encountered:
@Nick-S-2018 does this issue block anything?
Sorry, something went wrong.
No, it doesn't.
I also encountered this problem, the key is the go language map can not be adjusted to follow the order of the headache
9b85d1c
fixed sort property depends on the properties order at the aggs node;…
f55d215
… added cases to test 334; fixed #2364
tomatolog
No branches or pull requests
Bug Description:
Setting the
sort
key before theterms
key inside theaggs
node leads to an error. If the order is opposite, all works fine.Manticore Search Version:
Manticore 6.3.3 1de3cb364@24062617 dev
Operating System Version:
Ununtu 22.04 LTS
Have you tried the latest development version?
Yes
Internal Checklist:
To be completed by the assignee. Check off tasks that have been completed or are not applicable.
The text was updated successfully, but these errors were encountered: