changed interface of Searcher to allow creating index and querying index from seperator methods. index stays open and queries run faster