public interface IIndexController extends IController
Modifier and Type | Method and Description |
---|---|
String |
addDocument(Serializable objectToIndex)
Index or reindex an object
|
String |
getName()
Gets the name of the index.
|
void |
incrementalIndex(Date lastIndexDate)
Run an incremental index
|
void |
reindex()
Recreate an index
|
void |
removeDocument(String idToUnindex)
Remove an object from index
|
String getName()
String addDocument(Serializable objectToIndex) throws PortalModuleException
objectToIndex
- object to index/reindexPortalModuleException
- default module exception.void removeDocument(String idToUnindex) throws PortalModuleException
idToUnindex
- object idPortalModuleException
- default module exception.void incrementalIndex(Date lastIndexDate) throws PortalModuleException
lastIndexDate
- date of the last indexationPortalModuleException
- default module exception.void reindex() throws PortalModuleException
PortalModuleException
- default module exception.Copyright © 2022 Visiativ. All rights reserved.