| 
||||||||||
| 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 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  | 
 Set<Long> | 
search(String text,
       String mode)
Perform a full-text search on archives  | 
| Field Detail | 
|---|
static final String REVISION
| Method Detail | 
|---|
void init()
          throws Exception
Exception
void indexPublication(Publication pub,
                      ArchivedPublication archive)
                      throws Exception
pub - the Publication to indexarchive - the newly created ArchivedPublication corresponding
Exception
Set<Long> search(String text,
                 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 | |||||||||