# some java_imports hereIndexWriter.new(index, StandardAnalyzer.new(Versionorg.apache.lucene.index.IndexNotFoundException: no segments* file found in org.apache.lucene.store.RAMDirectory
Exception in thread "main" org.apache.lucene.index.IndexNotFoundException: no segments* file found in RAMDirectoryFileStatus[] status = dfs.listStatus(new Path("/prod/hdfs/LUCENE/index/140601"));
// Creating a RAMDirectory