Please format your code using </>
icon as explained in this guide. It will make your post more readable.
Or use markdown style like:
```
CODE
```
I edited your post.
I'm a bit confused by:
{
"bool" : {
"must" : {
"match_all" : { }
}
}
},
{
"range" : {
"timestamp" : {
"from" : "13/06/2017 10:20",
"to" : "18/06/2017 15:30",
"format" : "dd/MM/yyyy HH:mm",
"include_lower" : true,
"include_upper" : true
}
}
}
It's "pseudocode" or what? I mean that the query DSL looks wrong here.
The range part should be within a filter clause which we don't see here.
Could you reproduce with a simple script what you see (outside the context of Spring) just by using Kibana REST Console? Then we can start to iterate from there.