BCE dates have historically been problematic because of ambiguity in both  
the ISO format that we use for representing dates as well as the internal 
java representation, more details...

https://issues.apache.org/jira/browse/SOLR-1899

..the best work around I can suggest is to use simple numeric fields to 
represent your dates -- either as millis since whatever epoch you want, or 
as distinct year, month, day fields.


: Date: Mon, 21 Mar 2016 12:53:50 -0400
: From: jude mwenda <judemwe...@gmail.com>
: Reply-To: solr-user@lucene.apache.org
: To: solr-user@lucene.apache.org
: Subject: BCE dates on solr TrieDateField
: 
: Hey,
: 
: I hope this email finds you well. I have a solr.TrieDateField and I am
: trying to send -ve dates to this field. Does the TrieDateField allow for
: -ve dates? when I push the date -1600-01-10 to solr i get 1600-01-10 as the
: date registered. Please advise.
: 
: -- 
: Regards,
: 
: Jude Mwenda
: 

-Hoss
http://www.lucidworks.com/

Reply via email to