lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vpprasu <vppr...@gmail.com>
Subject Solr Total Documents Failed
Date Wed, 27 Sep 2017 04:38:28 GMT
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

Mime
View raw message