title: delta-import problem in solr DIH
body: <p>When I run  full_import command it is working fine. The updated dates are written to dataimport.properties file. When I run delta-import it is giving Indexing failed. Rolled back all changes.. The dataimport.properties file was already created and have the 777 permissions in solr/conf/ location.</p>
  
  <p>Please Help me to solve this problem.</p>
  
  <hr>
  
  <p>@mbonaci</p>
  
  <p>the query,deltaImportQuery and deltaQuery in data-config.xml is as follows </p>
  
  <pre><code>    &lt;entity name="item" query="select group_title,description,DATE_FORMAT(created_date, '%Y-%m-%dT%H:%i:%sZ') as createdDate,group_status, 'GROUP' as itemtype,group_id as id from collaboration_groups where group_status=1" 
  deltaImportQuery="select group_title,description,DATE_FORMAT(created_date, '%Y-%m-%dT%H:%i:%sZ') as createdDate,group_status,group_id as id,'GROUP' as itemtype  from collaboration_groups where group_status=1 and group_id=${dataimporter.delta.id} "  
  deltaQuery="select group_id from collaboration_groups where group_status=1 and  updated_date &amp;gt; '${dataimporter.last_index_time}'" deletedPkQuery="select group_id  from  collaboration_groups  where group_status = 0 and updated_date &amp;gt; '${dataimporter.last_index_time}'"&gt;
              &lt;field column="id"  name="id" /&gt;
              &lt;field column="itemtype" name="itemtype" /&gt;
              &lt;field column="group_title" name="fullName" /&gt;
              &lt;field column="description" name="description"/&gt;
              &lt;field column="createdDate" name="createdDate"/&gt;
  &lt;/entity&gt;
  </code></pre>
  
  <p>the config parameter of the dataImport request handler in config.xml is as follows </p>
  
  <pre><code>&lt;requestHandler name="/dataimport" class="org.apache.solr.handler.dataimport.DataImportHandler"&gt;
  &lt;lst name="defaults"&gt;
  &lt;str name="config"&gt;/var/solr/data-config.xml&lt;/str&gt;
  &lt;/lst&gt;
  &lt;/requestHandler&gt;
  </code></pre>