add solrSearch class

API for searching and indexing