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
ID='${dataimporter.delta.id}'"
                deltaQuery="select ID as id from NameDetails where LoadDate
&gt; '${dataimporter.last_index_time}'"
               
transformer="RegexTransformer,DateFormatTransformer,TemplateTransformer">
                        <field column="name" name="name"/>
                        <field column="ID" name="id"/>
                        <field column="LoadDate" name="LoadDate"/>

</entity>
   </document>
   

When I hit the following URL to perform delta indexing, 


http://localhost:8988/solr/core/dataimport?command=delta-import&clean=false&commit=true

I get the following response


- <response>
- <lst name="responseHeader">
  <int name="status">0</int> 
  <int name="QTime">2</int> 
  </lst>
- <lst name="initArgs">
- <lst name="defaults">
  <str name="config">dataimport.xml</str> 
  </lst>
  </lst>
  <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> 
  </lst>
  <str name="WARNING">This response format is experimental. It is likely to
change in the future.</str> 
  </response>
  
 
 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: 
http://lucene.472066.n3.nabble.com/After-Delta-Indexing-Updated-indexes-not-getting-reflected-in-UI-tp4064622.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to