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 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 Local UsersbooleanisEnable()
-
Field Details
-
SHORT_NAME
- See Also:
-
PROPERTY_INDEXER_NAME
- See Also:
-
PROPERTY_INDEX_TYPE_PAGE
- See Also:
-
FIELD_ID_TITLE
- See Also:
-
FIELD_LOGIN_TITLE
- See Also:
-
FIELD_GIVEN_NAME_TITLE
- See Also:
-
FIELD_LAST_NAME_TITLE
- See Also:
-
FIELD_EMAIL_TITLE
- See Also:
-
-
Constructor Details
-
MyLuteceSearchUserIndexer
public MyLuteceSearchUserIndexer()
-
-
Method Details
-
indexDocuments
public void indexDocuments() throws IOException, InterruptedException, fr.paris.lutece.portal.service.message.SiteMessageExceptionIndex all Local Users- 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- Document id- 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
-
getDescription
Returns the indexer service description- Specified by:
getDescriptionin interfacefr.paris.lutece.portal.service.search.SearchIndexer- Returns:
- The indexer service description
-
getListType
- Specified by:
getListTypein interfacefr.paris.lutece.portal.service.search.SearchIndexer
-
getSpecificSearchAppUrl
- Specified by:
getSpecificSearchAppUrlin interfacefr.paris.lutece.portal.service.search.SearchIndexer
-