protected IndexReader openIndex ( Path path , Configuration conf ) throws IOException { return DirectoryReader . open ( new LuceneHdfsDirectory ( path , path . getFileSystem ( conf ) ) ) ; }
Open an index stored in path Override if you want more control over how indexes are opened