You could try making a view for this query and then loading that view. This
will give you simpler syntax in the data-config.xml file. You may find that
the query you are trying is itself wrong.
Using a view also lets you examine the data your are importing.
Lance
On 2/23/09, Noble Paul നോബിള് न
On Mon, Feb 23, 2009 at 2:09 PM, con wrote:
>
> HI
>
> I made that change of quotes and case sensitivity. But now i am getting the
> below exception while running delta-import:
>
> Document # 1
>at
> org.apache.solr.handler.dataimport.JdbcDataSource$ResultSetIterator.(JdbcDataSource.java:1
HI
I made that change of quotes and case sensitivity. But now i am getting the
below exception while running delta-import:
Document # 1
at
org.apache.solr.handler.dataimport.JdbcDataSource$ResultSetIterator.(JdbcDataSource.java:186)
at
org.apache.solr.handler.dataimport.JdbcDataS
1. There is no closing quote in transformer="TemplateTransformer
2. Attribute names are case-sensitive so it should be deltaQuery instead of
deltaquery
On Fri, Feb 20, 2009 at 6:48 PM, con wrote:
>
> Hi alll
>
> I am trying to run delta-import. For this I am having the below
> data-config.xml
>
there is a very good chance that the query created by DIH is wrong.
try giving the 'deltaImportQuery' explicitly in the entity .
On Fri, Feb 20, 2009 at 6:48 PM, con wrote:
>
> Hi alll
>
> I am trying to run delta-import. For this I am having the below
> data-config.xml
>
>
> driver="ora