Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Solr, mail # user - Funky date string accepted


Copy link to this message
-
Funky date string accepted
Markus Jelsma 2011-08-23, 12:33
Hi,

The following field value for a date field type is accepted:
<field name="somedate">-0001-11-30T00:00:00Z</field>

and ends up in the index and as stored value as:
<date name="somedate">2-11-30T00:00:00Z</date>

I'd prefer to be punished with an exception. File a bug?

Thanks