It may not have made it into the schemas, so just try adding this to
your schema file:
As far as adding the 00Z, I would to be safe.
Best,
Erick
On Tue, Apr 12, 2016 at 6:57 AM, Steven White wrote:
> Hi Erick,
>
> In Solr's schema.xml, I cannot find for "dateRange", not even
> on Apache Solr
Hi Erick,
In Solr's schema.xml, I cannot find for "dateRange", not even
on Apache Solr Reference guide [1]. What am I missing? I'm on Solr 5.2.1.
Also, since my date data doesn't have seconds, can I leave ".ssZ" out or
must I supply it with "00"?
Thanks
Steve
[1] https://cwiki.apache.org/co
You have two options for dates in this scenario, "tdate" or "dateRange".
Probably in this case use dateRange, it should be more time and
space efficient. Here's some background:
https://lucidworks.com/blog/2016/02/13/solrs-daterangefield-perform/
Date types should be indexed as fully specified st