move IndexSearcher to separated file