Because of time zone (Solr indexed days) v/s User facing date processing ranges might end not being inclusive and either removing results or not matching at all.
The solution is to add some "slack" to any range passed to make the range inclusive. Slack means basically adding 23:59:59 to the end and to the beginning to cover more ground (one option, other is to read the actual Time Zone from the server and use that)
What?
Because of time zone (Solr indexed days) v/s User facing date processing ranges might end not being inclusive and either removing results or not matching at all.
The solution is to add some "slack" to any range passed to make the range inclusive. Slack means basically adding 23:59:59 to the end and to the beginning to cover more ground (one option, other is to read the actual Time Zone from the server and use that)