title: Delta-import collects the data but don't update the solr Index
body: <p>I've a solr Index that I am doing DIH with a mysql DB.</p>
  
  <p>When I run the <code>delta-import</code> command, the 4 inserted rows in DB since last full import is being collected, but the index is not updated!</p>
  
  <pre><code>841705 [qtp108251962-14] INFO  org.apache.solr.handler.dataimport.DataImporter  – Loading DIH Configuration: db-data-config.xml
  841708 [qtp108251962-14] INFO  org.apache.solr.handler.dataimport.DataImporter  – Data Configuration loaded successfully
  841709 [Thread-31] INFO  org.apache.solr.handler.dataimport.DataImporter  – Starting Delta Import
  841709 [qtp108251962-14] INFO  org.apache.solr.core.SolrCore  – [db] webapp=/solr path=/dataimport params={command=delta-import} status=0 QTime=4 
  841716 [Thread-31] INFO  org.apache.solr.handler.dataimport.SimplePropertiesWriter  – Read dataimport.properties
  841719 [Thread-31] INFO  org.apache.solr.handler.dataimport.DocBuilder  – Starting delta collection.
  841719 [Thread-31] INFO  org.apache.solr.handler.dataimport.DocBuilder  – Running ModifiedRowKey() for Entity: employees
  841720 [Thread-31] INFO  org.apache.solr.handler.dataimport.JdbcDataSource  – Creating a connection for entity employees with URL: jdbc:mysql://localhost/sampledb
  841735 [Thread-31] INFO  org.apache.solr.handler.dataimport.JdbcDataSource  – Time taken for getConnection(): 15
  841736 [Thread-31] INFO  org.apache.solr.handler.dataimport.DocBuilder  – Completed ModifiedRowKey for Entity: employees rows obtained : 4
  841736 [Thread-31] INFO  org.apache.solr.handler.dataimport.DocBuilder  – Completed DeletedRowKey for Entity: employees rows obtained : 0
  841736 [Thread-31] INFO  org.apache.solr.handler.dataimport.DocBuilder  – Completed parentDeltaQuery for Entity: employees
  841743 [Thread-31] INFO  org.apache.solr.handler.dataimport.DocBuilder  – Delta Import completed successfully
  841743 [Thread-31] INFO  org.apache.solr.handler.dataimport.DocBuilder  – Time taken = 0:0:0.26
  841744 [Thread-31] INFO  org.apache.solr.update.processor.LogUpdateProcessor  – [db] webapp=/solr path=/dataimport params={command=delta-import} status=0 QTime=4 {} 0 4
  </code></pre>
  
  <p>Here's the db-data-config.xml:</p>
  
  <pre><code>&lt;dataConfig&gt;
      &lt;dataSource driver="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost/sampledb" user="root" password="system" /&gt;
      &lt;document&gt;
          &lt;entity name="employees" pk="ID" 
                  query="SELECT * FROM employees"
                  deltaImportQuery="SELECT * FROM employees WHERE ID='${dataimporter.delta.id}'"
                  deltaQuery="SELECT ID from employees WHERE TRANSTIME &amp;gt; '${dataimporter.last_index_time}'"&gt;
  
              &lt;field column="ID" name="id" /&gt;
              &lt;field column="NAME" name="name" /&gt;
              &lt;field column="CITY" name="city" /&gt;
              &lt;field column="SERVICE_ID" name="service_id" /&gt;
  
         &lt;/entity&gt;
      &lt;/document&gt;
  &lt;/dataConfig&gt;
  </code></pre>
  
  <p>But still the index is not being updated... How can I solve this problem?</p>
  
  <p>Here's the conf files for the core:<br>
  <a href="https://github.com/MuhammadHewedy/db_cores/tree/master/db/conf" rel="nofollow">https://github.com/MuhammadHewedy/db_cores/tree/master/db/conf</a>
  <a href="https://github.com/MuhammadHewedy/db_cores/blob/master/db/conf/db-data-config.xml" rel="nofollow">https://github.com/MuhammadHewedy/db_cores/blob/master/db/conf/db-data-config.xml</a>
  <a href="https://github.com/MuhammadHewedy/db_cores/blob/master/db/conf/schema.xml" rel="nofollow">https://github.com/MuhammadHewedy/db_cores/blob/master/db/conf/schema.xml</a>
  <a href="https://github.com/MuhammadHewedy/db_cores/blob/master/db/conf/solrconfig.xml" rel="nofollow">https://github.com/MuhammadHewedy/db_cores/blob/master/db/conf/solrconfig.xml</a><br>
  Thanks.</p>