Class MyLuteceSearchUserIndexer

java.lang.Object
fr.paris.lutece.plugins.mylutece.modules.users.service.search.MyLuteceSearchUserIndexer
All Implemented Interfaces:
fr.paris.lutece.portal.service.search.SearchIndexer

public class MyLuteceSearchUserIndexer extends Object implements fr.paris.lutece.portal.service.search.SearchIndexer
Indexer service for myLuteceSearchUser Xpages
  • Field Details

  • Constructor Details

    • MyLuteceSearchUserIndexer

      public MyLuteceSearchUserIndexer()
  • Method Details

    • indexDocuments

      public void indexDocuments() throws IOException, 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:
      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 - Document id
      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
    • 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
    • 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