Created
October 26, 2017 17:38
-
-
Save yogin16/7ea39f90bbb6f61ef2b086b114c7c59c to your computer and use it in GitHub Desktop.
Vespa Aggregation - Timeout with limit and unranked.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl 'http://localhost:8080/search/?yql=select%20*%20from%20sources%20*%20where%20(sddocname%20contains%20(%5B%7B%22implicitTransforms%22%3A%20false%7D%5D%22tweet%22))%20limit%200%20%7C%20all(group(n_tA_c)%20max(1)%20each(output(count()%20as(count))))%3B&ranking=unranked' | python -m json.tool | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 472 100 472 0 0 23 0 0:00:20 0:00:20 --:--:-- 118 | |
{ | |
"root": { | |
"children": [ | |
{ | |
"children": [ | |
{ | |
"children": [ | |
{ | |
"fields": { | |
"count": 0 | |
}, | |
"id": "group:string:2017", | |
"relevance": 0.0, | |
"value": "2017" | |
} | |
], | |
"continuation": { | |
"next": "BGAAABEBCBC" | |
}, | |
"id": "grouplist:n_tA_c", | |
"label": "n_tA_c", | |
"relevance": 1.0 | |
} | |
], | |
"continuation": { | |
"this": "" | |
}, | |
"id": "group:root:0", | |
"relevance": 1.0 | |
} | |
], | |
"errors": [ | |
{ | |
"code": 12, | |
"message": "Timeout while waiting for sc0.num0", | |
"source": "content-root-cluster", | |
"summary": "Timed out" | |
} | |
], | |
"fields": { | |
"totalCount": 0 | |
}, | |
"id": "toplevel", | |
"relevance": 1.0 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment