Hi all, I'm now using date facetting to browse events. It works really fine and is really useful. The only problem so far is that if I have an event which is exactly on the boundary of two ranges, it is referenced 2 times.
If we admit that we have a gap of 6 hours starting from 2007-09-27 12:00, ranges are: 2007-09-27 12:00->18:00 and 2007-09-27 18:00-> 00:00. An event happening exactly at 18:00 is referenced in both ranges and so if I select the first range Solr returns both ranges in facet_dates instead of the first one only. Couldn't we create the range so that they don't overlap? Something like: 2007-09-27 12:00 -> 2007-09-27 17:59:59.999 for the first one and 2007-09-27 18:00 -> 2007-09-27 23:59:59.999 for the second one. I don't think people use date facetting with a millisecond range so retrieving 1 millisecond shouldn't be too much a problem in practice. Thanks for any comment. -- Guillaume