Short answer is no, there isn't a way. Solr doesn't have the concept of
'Update' to an indexed document. You need to add the full document (all
'columns') each time any one field changes. If doing that in your
DataImportHandler logic is difficult you may need to write a separate Update
Service that does:

1) Read UniqueID, UpdatedColumn(s)  from database
2) Using UniqueID Retrieve document from Solr
3) Add/Update field(s) with updated column(s)
4) Add document back to Solr

Although, if you use DIH to do a full import, using the same query in your
Delta-Import to get the whole document shouldn't be that difficult.
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Delta-import-with-solrj-client-tp1085763p1086173.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to