Class HtmlPageIndexer
java.lang.Object
fr.paris.lutece.plugins.htmlpage.service.search.HtmlPageIndexer
- All Implemented Interfaces:
fr.paris.lutece.portal.service.search.SearchIndexer
public class HtmlPageIndexer
extends Object
implements fr.paris.lutece.portal.service.search.SearchIndexer
Indexer service for htmlPage Xpages
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the indexer service descriptionList<org.apache.lucene.document.Document>getDocuments(String strId) Return a list of lucene document for incremental indexinggetName()voidIndex all enabled HtmlPagebooleanisEnable()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.paris.lutece.portal.service.search.SearchIndexer
getTypeLabel
-
Field Details
-
SHORT_NAME
- See Also:
-
PROPERTY_INDEXER_NAME
- See Also:
-
PROPERTY_INDEX_TYPE_PAGE
- See Also:
-
-
Constructor Details
-
HtmlPageIndexer
public HtmlPageIndexer()
-
-
Method Details
-
getDescription
Returns the indexer service description- Specified by:
getDescriptionin interfacefr.paris.lutece.portal.service.search.SearchIndexer- Returns:
- The indexer service description
-
indexDocuments
public void indexDocuments() throws IOException, InterruptedException, fr.paris.lutece.portal.service.message.SiteMessageExceptionIndex all enabled HtmlPage- Specified by:
indexDocumentsin interfacefr.paris.lutece.portal.service.search.SearchIndexer- Throws:
IOException- exceptionInterruptedException- exceptionfr.paris.lutece.portal.service.message.SiteMessageException- exception
-
getDocuments
public List<org.apache.lucene.document.Document> getDocuments(String strId) throws IOException, InterruptedException, fr.paris.lutece.portal.service.message.SiteMessageException Return a list of lucene document for incremental indexing- Specified by:
getDocumentsin interfacefr.paris.lutece.portal.service.search.SearchIndexer- Parameters:
strId- the uid of the document- Returns:
- listDocuments the document list
- Throws:
IOExceptionInterruptedExceptionfr.paris.lutece.portal.service.message.SiteMessageException
-
getName
- Specified by:
getNamein interfacefr.paris.lutece.portal.service.search.SearchIndexer
-
getVersion
- Specified by:
getVersionin interfacefr.paris.lutece.portal.service.search.SearchIndexer
-
isEnable
public boolean isEnable()- Specified by:
isEnablein interfacefr.paris.lutece.portal.service.search.SearchIndexer
-
getListType
- Specified by:
getListTypein interfacefr.paris.lutece.portal.service.search.SearchIndexer
-
getSpecificSearchAppUrl
- Specified by:
getSpecificSearchAppUrlin interfacefr.paris.lutece.portal.service.search.SearchIndexer
-