lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cyang2010 <>
Subject indexing mysql dateTime/timestamp into solr date field
Date Wed, 02 Mar 2011 02:21:24 GMT

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:
Sent from the Solr - User mailing list archive at

View raw message