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 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 Strin

Re: Can TrieDateField fields be null?

2015-08-23 Thread Henrique O. Santos
just verified with 4.10 How are you indexing? I 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 wrote: Hello, Just a simple question. Can TrieDateFie

Re: Can TrieDateField fields be null?

2015-08-23 Thread Henrique O. Santos
k On Sat, Aug 22, 2015 at 4:04 PM, Henrique O. Santos wrote: Hello, Just a simple question. Can TrieDateField fields be null? I have a schema with the following field and type: Every time I index a document with no value for this field, the current time gets indexed and stored. Is

Re: Can TrieDateField fields be null?

2015-08-23 Thread Upayavira
:04 PM, Henrique O. Santos > wrote: > > Hello, > > > > Just a simple question. Can TrieDateField fields be null? I have a schema > > with the following field and type: > > > docValues="true" /> > > > positionIncrementGap="0"/

Re: Can TrieDateField fields be null?

2015-08-22 Thread Erick Erickson
que O. Santos wrote: > Hello, > > Just a simple question. Can TrieDateField fields be null? I have a schema > with the following field and type: > docValues="true" /> > positionIncrementGap="0"/> > > Every time I index a document with no va

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: docValues="true" /> positionIncrementGap="0"/> Every time I index a document with no value for this field, the current time gets indexed and