lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Serba <ase...@gmail.com>
Subject Re: dataimport.properties is not updated on delta-import
Date Fri, 25 Jun 2010 20:40:17 GMT
Please note that Oracle ( or Oracle jdbc driver ) converts column
names to upper case eventhough you state them in lower case. If this
is the case then try to rewrite your query in the following form
select id as "id", name as "name" from table

On Thursday, June 24, 2010, warb <warb@mail.com> wrote:
>
> Hello again!
>
> Upon further investigation it seems that something is amiss with
> delta-import after all, the delta-import does not actually import anything
> (I thought it did when I ran it previously but I am not sure that was the
> case any longer.) It does complete successfully as seen from the front-end
> (dataimport?command=delta-import). Also in the logs it is stated the the
> import was successful (INFO: Delta Import completed successfully), but there
> are exception pertaining to some documents.
>
> The exception message is that the id field is missing
> (org.apache.solr.common.SolrException: Document [null] missing required
> field: id). Now, I have checked the column names in the table, the
> data-config.xml file and the schema.xml file and they all have the
> column/field names written in lowercase and are even named exactly the same.
>
> Do Solr rollback delta-imports if one or more of the documents failed?
> --
> View this message in context: http://lucene.472066.n3.nabble.com/dataimport-properties-is-not-updated-on-delta-import-tp916753p919609.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Mime
View raw message