Hello all,
I'm not sure if I am missing something of if this is a bug but I am
facing an issue with the following scenario.
I am doing a range faceting on a date field with the following parameters :
facet.range.start = facet.range.end = a date
facet.range.gap = +1YEAR
facet.range.hardend = true
facet.range.include = lower, facet.range.include = edge
facet.range.other = all (for debugging purpose).
For the date I am using, one document should be matching, but in the
response, counts are empty. However the between value coming from
facet.range.other = all is 1.
I tried playing with facet.range.include but I never had something in
counts. If I add 1ms to facet.range.end, the counts are well populated.
Do you think I might have missed something or may it be a real issue?
FWIW, here are the interesting parts of the response (JSON):
end = start
|| "facet_ranges":{
"last-modified":{
"counts":[],
"gap":"+1YEAR",
"start":"2014-03-26T16:31:59.885Z",
"end":"2014-03-26T16:31:59.885Z",
"before":0,
"after":0,
"between":1
}
}
end = start + 1ms
|"facet_ranges":{
"last-modified":{
"counts":[
"2014-03-26T16:31:59.885Z",
1
],
"gap":"+1YEAR",
"start":"2014-03-26T16:31:59.885Z",
"end":"2014-03-26T16:31:59.886Z",
"before":0,
"after":0,
"between":1
}
}|
Thanks.