|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ArchiveEngine
This interface must be implemented by archive engines (indexer and searcher) such as LuceneArchiveEngine.
| Field Summary | |
|---|---|
static java.lang.String |
REVISION
|
| Method Summary | |
|---|---|
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 |
| Field Detail |
|---|
static final java.lang.String REVISION
| Method Detail |
|---|
void init()
throws java.lang.Exception
java.lang.Exception
void indexPublication(Publication pub,
ArchivedPublication archive)
throws java.lang.Exception
pub - the Publication to indexarchive - the newly created ArchivedPublication corresponding
java.lang.Exception
java.util.Set<java.lang.Long> search(java.lang.String text,
java.lang.String mode)
text - the text to searchmode - the search mode
ArchivedPublication)void deleteArchiveIndex(ArchivedPublication pub)
pub - the ArchivedPublication being deleted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||