Hi, Version of SOLR is 4.6 and here is my db-import-config.xml
<dataConfig> <dataSource name="dbDS" type="JdbcDataSource" driver="com.mysql.jdbc.Driver" url="[fill me]" user=“fill me" password=“fill me"/> <document name=“example name"> <entity name=“table name" pk="id" transformer=com.example.sometransformer" query="SELECT * from [table]" deltaImportQuery="SELECT * from [table] where [pk]='${dataimporter.delta.pk}'" deltaQuery="SELECT [pk] from [table] where last_modified > '${dataimporter.last_index_time}'"> <field column=“col" name=“col name"/> <field column="last_modified" name="lastModified"/> </entity> </document> </dataConfig> On Feb 8, 2014, at 7:29 AM, tamanjit.bin...@yahoo.co.in wrote: > But delta indexing is supposed to do that. Please share details of your > datatimport-config.xml and version of Solr for further help. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Index-a-new-record-in-MySQL-tp4116164p4116184.html > Sent from the Solr - User mailing list archive at Nabble.com. > > > > *** DISCLAIMER *** This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind HTC Global Services to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.