class IndexSearcherFactory extends SearcherFactory {
    public IndexSearcher newSearcher(IndexReader reader) {
        return newSearcher(reader, null);
    }

    @Override
    public IndexSearcher newSearcher(IndexReader reader, IndexReader prev) {<FILL_FUNCTION_BODY>}
}

        // The previous IndexReader is not used here.
        return new IndexSearcher(reader, RuntimeEnvironment.getInstance().getSearchExecutor());
    
<no_super_class>