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 <convo...@gmail.com> wrote:

>
> Hi alll
>
> I am trying to run delta-import. For this I am having the below
> data-config.xml
>
> <dataConfig>
>        <dataSource type="JdbcDataSource"
> driver="oracle.jdbc.driver.OracleDriver"
> url="*******" user="****" password="*********"/>
>                <document>
>                        <entity name="users"
> transformer="TemplateTransformer pk="USER_ID"
>                        query="select USERS.USER_ID, USERS.USER_NAME,
> USERS.CREATED_TIMESTAMP
> FROM USERS, CUSTOMERS where USERS.USER_ID = CUSTOMERS.USER_ID"
>
>                    deltaquery="select USERS.USER_ID, USERS.USER_NAME,
> USERS.CREATED_TIMESTAMP FROM USERS, CUSTOMERS where USERS.USER_ID =
> CUSTOMERS.USER_ID" >
>                                <field column="rowtype" template="users" />
>                        </entity>
>                </document>
> </dataConfig>
>
> But nothing is happening when i call
> http://localhost:8080/solr/users/dataimport?command=delta-import. Whereas
> the dataimport.properties is getting updated with the time at which
> delta-import is run.
>
> Where as http://localhost:8080/solr/users/dataimport?command=full-importis
> properly inserting data.
>
> Can anybody suggest what is wrong with this configuration.
>
> Thanks
> con
>
>
> --
> View this message in context:
> http://www.nabble.com/delta-import-not-giving-updated-records-tp22120184p22120184.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>


-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to