Hi,

I've an Oracle DATE column that I want to index with a Solr DateField. The
part of my schema.xml looks like this:

<fieldType name="date" class="solr.DateField" sortMissingLast="true"
omitNorms="true"/>
<field name="plazo" type="date" indexed="true" stored="true" default="NOW"
multiValued="false" />

I use DataImportHandler. When I do a search, this field is returned with one
day before. Oracle: 2006-12-10. Solr: 2006-12-09T23:00:00Z

If I index it as a String, it's indexed as expected (with the same "string
date" as I see it in Oracle)

Does anyone know where the problem is?

Thanks in advance

Reply via email to