Adding solr updateIndex and generic search implementation