Currently solr incremental indexing results shown below.

status : idle
Total Requests made to DataSource : 2
Total Rows Fetched : 2
Total Documents Processed : 0
Total Documents Skipped : 0
Delta Dump started : 2017-09-26 05:57:15
Identifying Delta : 2017-09-26 05:57:15
Deltas Obtained : 2017-09-26 05:57:15
Building documents : 2017-09-26 05:57:15
Total Changed Documents :1
Total Documents Failed : 1
Time taken : 0:0:0.55

collection schema.xml already have id field required. For your reference
entity details mentioned
in below.

<entity name="ddadnames" pk="id" 
       query="SELECT id as &quot;id&quot;,fld AS
&quot;fld_int&quot;,TO_CHAR(updated_date,'YYYY-MM-DD&quot;T&quot;HH:MI:SS&quot;Z&quot;')
AS &quot;last_modifed_date&quot;FROM tablename"
       deltaQuery="select id as &quot;id&quot; from  tablename where
TO_CHAR(updated_date,'YYYY-MM-DD&quot;T&quot;HH:MI:SS&quot;Z&quot;')  >
'${dih.last_index_time}'"
       deltaImportQuery="SELECT id as &quot;id&quot;,fld AS
&quot;fld_int&quot;,TO_CHAR(updated_date,'YYYY-MM-DD&quot;T&quot;HH:MI:SS&quot;Z&quot;')
AS &quot;last_modifed_date&quot;FROM tablename where id='${dih.delta.id}'"
 />



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to