Created Index Config class to configure both the lucene indexer and
searcher.