dateOptionalTime accept both YYYYMMDD and YYYY-MM-DD format which is ok
with ISO format.
But the primer seems not internally converted to date.
I have added '"dynamic" : false' to the mapping to be sure the problem
doesn’t come from there.
The order of documents insertion doesn't change the behavior.
Thanks to try the following gist: https://gist.github.com/3018231
The sort and facet query show the problem.