Apache Solr Update

This is to change registry indexing for solr update and support different modes