Hi,

I can't seem to be able to index to a solr date field from a query result
using DataImportHandler.  Anyone else know how to resoleve the problem?

        <entity name="title" 
                        query="select ID,  title_full as TITLE_NAME, YEAR,
COUNTRY_OF_ORIGIN,  modified as RELEASE_DATE from title limit 10">
                        
            <field column="ID" name="id" />
        
            <field column="TITLE_NAME" name="title_name" />
            
            <field column="YEAR" name="year" />
            <field column="COUNTRY_OF_ORIGIN" name="country" />

            <field column="RELEASE_DATE" name="release_date" />

When i check the solr document, there is no term populated for release_date
field.  All other fields are populated with terms.

The field, "release_date" is a solr date type field.


Appreciate your help.


-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/indexing-mysql-dateTime-timestamp-into-solr-date-field-tp2608327p2608327.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to