You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "Agethle, Matthias" <Ma...@siag.it> on 2010/12/15 18:52:52 UTC
Dates BC
Hi everyone,
does the solr.TrieDateField support dates BC?
I indexed negative dates and I'm able to query them,
but if I store them, they show up as postitive dates.
Thanks
Matthias
Re: Dates BC
Posted by Chris Hostetter <ho...@fucit.org>.
: does the solr.TrieDateField support dates BC?
: I indexed negative dates and I'm able to query them,
: but if I store them, they show up as postitive dates.
Hmm... definitely seems to be a bug.
I *think* this is another manifestation of SOLR-1899 (because of how the
hokey formatting code uses a GregorianCalender obejct) and have made a
note there to explicitly test negative years before resolving - but it may
actually be an unrelated problem somewhere else in the date handling.
-Hoss