lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mechravi25 <>
Subject After Delta Indexing, Updated indexes not getting reflected in UI
Date Mon, 20 May 2013 11:19:14 GMT
Hi ,

Im uisng solr 3.6.1 version and Im trying to implement delta indexing. Im
using the following configuration in my dataimport handler file 

<document name="doc">
 <entity name="deltatest" dataSource="testsrc" pk="id"
		  query="select ID as id, name,LoadDate from NameDetails "
		  deltaImportQuery="select ID as id, name,LoadDate from NameDetails where
                deltaQuery="select ID as id from NameDetails where LoadDate
&gt; '${dataimporter.last_index_time}'"
                	<field column="name" name="name"/>
                        <field column="ID" name="id"/>
                        <field column="LoadDate" name="LoadDate"/>


When I hit the following URL to perform delta indexing, 


I get the following response

- <response>
- <lst name="responseHeader">
  <int name="status">0</int> 
  <int name="QTime">2</int> 
- <lst name="initArgs">
- <lst name="defaults">
  <str name="config">dataimport.xml</str> 
  <str name="command">delta-import</str> 
  <str name="status">idle</str> 
  <str name="importResponse" /> 
- <lst name="statusMessages">
  <str name="Total Requests made to DataSource">2</str> 
  <str name="Total Rows Fetched">1</str> 
  <str name="Total Documents Skipped">0</str> 
  <str name="Delta Dump started">2013-05-20 03:45:43</str> 
  <str name="Identifying Delta">2013-05-20 03:45:43</str> 
  <str name="Deltas Obtained">2013-05-20 03:45:44</str> 
  <str name="Building documents">2013-05-20 03:45:44</str> 
  <str name="Total Changed Documents">1</str> 
  <str name="Total Documents Processed">0</str> 
  <str name="Time taken">0:0:0.658</str> 
  <str name="WARNING">This response format is experimental. It is likely to
change in the future.</str> 
 Here, It shows that there is one changed document and when I try to refresh
Solr UI to check the changes, 
 I see that no changes have been done. But, I can see that the indexed file
size has been increased.
 Also, I noticed one more thing i.e. the Committed tag itself is not coming
even when its passed in the query string. 
 Does Delta indexing require any other configuration changes? If so, Can you
guide me on the same?
 Or Can you tell me if I'm missing anything?

Thanks in Advance

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message