Re: Can TrieDateField fields be null?

2015-08-23 Thread Upayavira
, Just a simple question. Can TrieDateField fields be null? I have a schema with the following field and type: field name=started_at type=date indexed=true stored=true docValues=true / fieldType name=date class=solr.TrieDateField precisionStep=0 positionIncrementGap=0

Re: Can TrieDateField fields be null?

2015-08-23 Thread Erick Erickson
Following up on Shawn's comment, this can be the result of some sort of serialization or, if you're pulling info from a DB the literal string NULL may be returned from the DB. Solr really has no concept of a distinct value of NULL for a field, in Solr/Lucene terms that's just the total absence of

Re: Can TrieDateField fields be null?

2015-08-23 Thread Henrique O. Santos
On Sat, Aug 22, 2015 at 4:04 PM, Henrique O. Santos hensan...@gmail.com wrote: Hello, Just a simple question. Can TrieDateField fields be null? I have a schema with the following field and type: field name=started_at type=date indexed=true stored=true docValues=true / fieldType name=date

Re: Can TrieDateField fields be null?

2015-08-23 Thread Henrique O. Santos
suspect that somehow the program that's sending things to Solr is putting the default time in. What version of Solr? Best, Erick On Sat, Aug 22, 2015 at 4:04 PM, Henrique O. Santos hensan...@gmail.com wrote: Hello, Just a simple question. Can TrieDateField fields be null? I have a schema

Re: Can TrieDateField fields be null?

2015-08-23 Thread Shawn Heisey
On 8/23/2015 8:29 AM, Henrique O. Santos wrote: I am doing some manual indexing using Solr Admin UI to be exactly sure how TrieDateFields and null values work. When I remove the TrieDateField from the document, I get the following when trying to index it: | msg: Invalid Date

Re: Can TrieDateField fields be null?

2015-08-22 Thread Erick Erickson
. Santos hensan...@gmail.com wrote: Hello, Just a simple question. Can TrieDateField fields be null? I have a schema with the following field and type: field name=started_at type=date indexed=true stored=true docValues=true / fieldType name=date class=solr.TrieDateField precisionStep=0

Can TrieDateField fields be null?

2015-08-22 Thread Henrique O. Santos
Hello, Just a simple question. Can TrieDateField fields be null? I have a schema with the following field and type: field name=started_at type=date indexed=true stored=true docValues=true / fieldType name=date class=solr.TrieDateField precisionStep=0 positionIncrementGap=0/ Every