add indexer and searcher