Package com.jalios.jcms.archive
Interface ArchiveEngine
- All Known Implementing Classes:
LuceneArchiveEngine
Deprecated, for removal: This API element is subject to removal in a future version.
This interface must be implemented by archive engines (indexer and searcher)
such as LuceneArchiveEngine.
- Since:
- jcms-4.1.1
- Author:
- Olivier Jaquemet
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated, for removal: This API element is subject to removal in a future version.Delete every information associated with the publicationvoidindexPublication(Publication pub, ArchivedPublication archive) Deprecated, for removal: This API element is subject to removal in a future version.Index a Publicationvoidinit()Deprecated, for removal: This API element is subject to removal in a future version.Init the engine responsible of indexing and searching archiveDeprecated, for removal: This API element is subject to removal in a future version.Perform a full-text search on archives
-
Method Details
-
init
Deprecated, for removal: This API element is subject to removal in a future version.Init the engine responsible of indexing and searching archive- Throws:
Exception
-
indexPublication
Deprecated, for removal: This API element is subject to removal in a future version.Index a Publication- Parameters:
pub- the Publication to indexarchive- the newly created ArchivedPublication corresponding- Throws:
Exception
-
search
Deprecated, for removal: This API element is subject to removal in a future version.Perform a full-text search on archives- Parameters:
text- the text to searchmode- the search mode- Returns:
- a Set of Long (the rowid of the matching
ArchivedPublication) - Since:
- jcms-6.0
-
deleteArchiveIndex
Deprecated, for removal: This API element is subject to removal in a future version.Delete every information associated with the publication- Parameters:
pub- the ArchivedPublication being deleted
-