public interface ArchiveEngine
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
REVISION  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
deleteArchiveIndex(ArchivedPublication pub)
Delete every information associated with the publication 
 | 
void | 
indexPublication(Publication pub,
                ArchivedPublication archive)
Index a Publication 
 | 
void | 
init()
Init the engine responsible of indexing and searching archive 
 | 
java.util.Set<java.lang.Long> | 
search(java.lang.String text,
      java.lang.String mode)
Perform a full-text search on archives 
 | 
static final java.lang.String REVISION
void init() throws java.lang.Exception
java.lang.Exceptionvoid indexPublication(Publication pub, ArchivedPublication archive) throws java.lang.Exception
pub - the Publication to indexarchive - the newly created ArchivedPublication correspondingjava.lang.Exceptionjava.util.Set<java.lang.Long> search(java.lang.String text,
                                     java.lang.String mode)
text - the text to searchmode - the search modeArchivedPublication)void deleteArchiveIndex(ArchivedPublication pub)
pub - the ArchivedPublication being deletedCopyright © 2001-2018 Jalios SA. All Rights Reserved.