RAMDirectory
Directory
This should be used only with indices that can fit into memory. RAMDirectory public RAMDirectory( File dir ) throws IOException Creates a new RAMDirectory instance from the FSDirectory. RAMDirectory public RAMDirectory( String dir ) throws IOException Creates a new RAMDirectory instance from the FSDirectory.