Re: Indexing date data for facet search

2016-04-12 Thread Erick Erickson
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",

Re: Indexing date data for facet search

2016-04-12 Thread Steven White
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]

Re: Indexing date data for facet search

2016-04-11 Thread Erick Erickson
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

Indexing date data for facet search

2016-04-11 Thread Steven White
Hi everyone, I need to index data data into Solr and then use this field for facet search. My question is this, the date data in my DB is stored in the following format "2016-03-29 15:54:35.461": 1) What format I should be indexing this date + time stamp into Solr? 2) What Solr field type I