|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SearchIndexer
Interface of pluggable indexer. An Indexer can add documents to the main Lucene index.
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns the indexer service description |
java.util.List<org.apache.lucene.document.Document> |
getDocuments(java.lang.String strIdDocument)
Returns a List of lucene documents to add to the index |
java.lang.String |
getName()
Returns the indexer service name |
java.lang.String |
getVersion()
Returns the indexer service version |
void |
indexDocuments()
Index all lucene documents from the plugin, replace List |
boolean |
isEnable()
Tells whether the service is enable or not |
Method Detail |
---|
void indexDocuments() throws java.io.IOException, java.lang.InterruptedException, SiteMessageException
java.io.IOException
- If an IO error occured
java.lang.InterruptedException
- If a thread error occured
SiteMessageException
- occurs when a site message need to be displayedjava.util.List<org.apache.lucene.document.Document> getDocuments(java.lang.String strIdDocument) throws java.io.IOException, java.lang.InterruptedException, SiteMessageException
strIdDocument
- document id
java.io.IOException
- If an IO error occured
java.lang.InterruptedException
- If a thread error occured
SiteMessageException
- occurs when a site message need to be displayedjava.lang.String getName()
java.lang.String getVersion()
java.lang.String getDescription()
boolean isEnable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |