public class DBDirectory
extends org.apache.lucene.store.db.DbDirectory
Modifier and Type | Method and Description |
---|---|
void |
close() |
static DBDirectory |
open(java.lang.String sDirectory)
Open Lucene Directory on the specified disk path
Two Berkely DB Database files will be opened with names
lucene_records and lucene_datablocks
|
createOutput, deleteFile, fileExists, fileLength, fileModified, flush, listAll, makeLock, openInput, setTransaction, setTransaction, touchFile
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class org.apache.lucene.store.db.DbDirectory
java.io.IOException
public static DBDirectory open(java.lang.String sDirectory) throws java.io.IOException
Open Lucene Directory on the specified disk path
Two Berkely DB Database files will be opened with names lucene_records and lucene_datablockssDirectory
- String Directory full pathjava.io.IOException