Hello, 

We at VNC are using Solr for search and as a data store. We have a use-case in 
which we want to hit a REST endpoint whenever documents are inserted, updated, 
or deleted in Solr with the documents under consideration as well. When 
exploring the Solr documentation, we found Event Listeners with postCommit and 
postOptimize events. We have configured Solr to do soft-commits every second 
and hard-commits every ten minutes to keep real-time indexing intact. With that 
in mind the questions are: 

Do we get the documents updated in the postCommit event? (Not able to find any 
examples)
Are there other events that are triggered when a doc is updated, deleted, or 
inserted like those we have in an RDBMS?
Is there a postSoftCommit event as well? (not mentioned in official docs)

Mit freundlichen GrĂ¼ssen / Kind regards

Muhammad Haris Khan

VNC - Virtual Network Consult

-- Solr Ingenieur --

Reply via email to