Trigger Event After Node Is Indexed I have a pretty basic Drupal 7 web site with Solr search (works great!).

I would now like to perform some "work" after each node is indexed with Solr. 

First I tried creating a workflow rule but there is no event for "node has been indexed". Next I looked for Solr API hooks but came up empty handed. 

Should I look at adding a hook somewhere in the PHP code? If so where? Or am I overlooking a more obvious solution?

Thanks
Both Solr modules provide APIs:


Apache Solr Search
Search API Solr


But neither provide an after-node-update hook. If I had to guess I'd say it's both modules send data to Solr in batches, not one node at a time.

You might get some joy with the core hook_node_update_index():


  Act on a node being indexed for searching.
  
  This hook is invoked during search indexing, after node_load(), and after the result of node_view() is added as $node->rendered to the node object.