Skip to content

Instantly share code, notes, and snippets.

@ahmed-bhs
Created October 11, 2018 21:24
Show Gist options
  • Save ahmed-bhs/f244befa2ecaad625bb36d48a80b1d2c to your computer and use it in GitHub Desktop.
Save ahmed-bhs/f244befa2ecaad625bb36d48a80b1d2c to your computer and use it in GitHub Desktop.
I dont know why this json query does not return the hole aggregations:
```
{
"query": {
"match": {
"title": {
"query": "test11",
"fuzziness": 0
}
}
},
"aggs": {
"title_aggregation": {
"terms": {
"field": "title"
}
}
},
"from": 0,
"size": 10
}
```
This is the result :
```
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment