Class VolatileRecordIndexManager
- java.lang.Object
-
- org.openforis.collect.manager.BaseStorageManager
-
- org.openforis.collect.manager.RecordIndexManager
-
- org.openforis.collect.remoting.service.recordindex.VolatileRecordIndexManager
-
- All Implemented Interfaces:
Serializable
public class VolatileRecordIndexManager extends RecordIndexManager
- Author:
- S. Ricci
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openforis.collect.manager.RecordIndexManager
RecordIndexManager.SearchType
-
-
Field Summary
-
Fields inherited from class org.openforis.collect.manager.RecordIndexManager
cancelled, indexDirectory, initialized, LOG, RECORD_ID_FIELD
-
Fields inherited from class org.openforis.collect.manager.BaseStorageManager
configurationManager, DATA_FOLDER_NAME, storageDirectory
-
-
Constructor Summary
Constructors Constructor Description VolatileRecordIndexManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.lucene.store.DirectorycreateIndexDirectory()voidindex(CollectRecord record)booleaninit()-
Methods inherited from class org.openforis.collect.manager.RecordIndexManager
cancelIndexing, cleanIndex, close, close, createIndexSearcher, createIndexWriter, createQuery, createRecordIdField, deleteAllItems, deleteDocuments, deleteDocuments, deleteIndexRootDirectory, destroyIndex, getSortedList, hasIndexableNodes, hasIndexableNodes, index, index, index, index, indexAllRecords, initIndexDirectory, isInited, prepareIndexDirectory, printAllDocuments, search, search, unlock
-
Methods inherited from class org.openforis.collect.manager.BaseStorageManager
getDefaultRootStoragePath, getDefaultStorageDirectory, getDefaultStorageRootDirectory, getStorageDirectory, initStorageDirectory, initStorageDirectory, setDefaultRootStoragePath, setDefaultSubFolder
-
-
-
-
Method Detail
-
init
public boolean init() throws RecordIndexException- Overrides:
initin classRecordIndexManager- Throws:
RecordIndexException
-
createIndexDirectory
protected org.apache.lucene.store.Directory createIndexDirectory() throws RecordIndexException- Overrides:
createIndexDirectoryin classRecordIndexManager- Throws:
RecordIndexException
-
index
public void index(CollectRecord record) throws RecordIndexException
- Overrides:
indexin classRecordIndexManager- Throws:
RecordIndexException
-
-