Class MyLuteceSearchUserIndexer

  • All Implemented Interfaces:
    fr.paris.lutece.portal.service.search.SearchIndexer

    public class MyLuteceSearchUserIndexer
    extends java.lang.Object
    implements fr.paris.lutece.portal.service.search.SearchIndexer
    Indexer service for myLuteceSearchUser Xpages
    • Constructor Detail

      • MyLuteceSearchUserIndexer

        public MyLuteceSearchUserIndexer()
    • Method Detail

      • indexDocuments

        public void indexDocuments()
                            throws java.io.IOException,
                                   java.lang.InterruptedException,
                                   fr.paris.lutece.portal.service.message.SiteMessageException
        Index all Local Users
        Specified by:
        indexDocuments in interface fr.paris.lutece.portal.service.search.SearchIndexer
        Throws:
        java.io.IOException - exception
        java.lang.InterruptedException - exception
        fr.paris.lutece.portal.service.message.SiteMessageException - exception
      • getDocuments

        public java.util.List<org.apache.lucene.document.Document> getDocuments​(java.lang.String strId)
                                                                         throws java.io.IOException,
                                                                                java.lang.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 - Document id
        Returns:
        listDocuments the document list
        Throws:
        java.io.IOException
        java.lang.InterruptedException
        fr.paris.lutece.portal.service.message.SiteMessageException
      • getName

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

        public java.lang.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
      • getDescription

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

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

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