Class 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
    • Constructor Detail

      • HtmlPageIndexer

        public HtmlPageIndexer()
    • Method Detail

      • getDescription

        public String getDescription()
        Returns the indexer service description
        Specified by:
        getDescription in interface fr.paris.lutece.portal.service.search.SearchIndexer
        Returns:
        The indexer service description
      • indexDocuments

        public void indexDocuments()
                            throws IOException,
                                   InterruptedException,
                                   fr.paris.lutece.portal.service.message.SiteMessageException
        Index all enabled HtmlPage
        Specified by:
        indexDocuments in interface fr.paris.lutece.portal.service.search.SearchIndexer
        Throws:
        IOException - exception
        InterruptedException - exception
        fr.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:
        getDocuments in interface fr.paris.lutece.portal.service.search.SearchIndexer
        Parameters:
        strId - the uid of the document
        Returns:
        listDocuments the document list
        Throws:
        IOException
        InterruptedException
        fr.paris.lutece.portal.service.message.SiteMessageException
      • getName

        public String getName()
        Specified by:
        getName in interface fr.paris.lutece.portal.service.search.SearchIndexer
      • getVersion

        public String getVersion()
        Specified by:
        getVersion in interface fr.paris.lutece.portal.service.search.SearchIndexer
      • isEnable

        public boolean isEnable()
        Specified by:
        isEnable in interface fr.paris.lutece.portal.service.search.SearchIndexer
      • getListType

        public List<String> getListType()
        Specified by:
        getListType in interface fr.paris.lutece.portal.service.search.SearchIndexer
      • getSpecificSearchAppUrl

        public String getSpecificSearchAppUrl()
        Specified by:
        getSpecificSearchAppUrl in interface fr.paris.lutece.portal.service.search.SearchIndexer