|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.service.search.PageIndexer
public class PageIndexer
Indexer service for pages
Field Summary | |
---|---|
static java.lang.String |
INDEXER_NAME
|
Constructor Summary | |
---|---|
PageIndexer()
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns the indexer service description |
java.util.List<org.apache.lucene.document.Document> |
getDocuments(java.lang.String nIdDocument)
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String INDEXER_NAME
Constructor Detail |
---|
public PageIndexer()
Method Detail |
---|
public void indexDocuments() throws java.io.IOException, java.lang.InterruptedException, SiteMessageException
indexDocuments
in interface SearchIndexer
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 displayedpublic java.util.List<org.apache.lucene.document.Document> getDocuments(java.lang.String nIdDocument) throws java.io.IOException, java.lang.InterruptedException, SiteMessageException
getDocuments
in interface SearchIndexer
nIdDocument
- 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 displayedpublic java.lang.String getName()
getName
in interface SearchIndexer
public java.lang.String getVersion()
getVersion
in interface SearchIndexer
public java.lang.String getDescription()
getDescription
in interface SearchIndexer
public boolean isEnable()
isEnable
in interface SearchIndexer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |