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 java.lang.Object implements fr.paris.lutece.portal.service.search.SearchIndexerIndexer service for myLuteceSearchUser Xpages
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFIELD_EMAIL_TITLEstatic java.lang.StringFIELD_GIVEN_NAME_TITLEstatic java.lang.StringFIELD_ID_TITLEstatic java.lang.StringFIELD_LAST_NAME_TITLEstatic java.lang.StringFIELD_LOGIN_TITLEstatic java.lang.StringPROPERTY_INDEX_TYPE_PAGEstatic java.lang.StringPROPERTY_INDEXER_NAMEstatic java.lang.StringSHORT_NAME
-
Constructor Summary
Constructors Constructor Description MyLuteceSearchUserIndexer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Returns the indexer service descriptionjava.util.List<org.apache.lucene.document.Document>getDocuments(java.lang.String strId)Return a list of lucene document for incremental indexingjava.util.List<java.lang.String>getListType()java.lang.StringgetName()java.lang.StringgetSpecificSearchAppUrl()java.lang.StringgetVersion()voidindexDocuments()Index all Local UsersbooleanisEnable()
-
-
-
Field Detail
-
SHORT_NAME
public static final java.lang.String SHORT_NAME
- See Also:
- Constant Field Values
-
PROPERTY_INDEXER_NAME
public static final java.lang.String PROPERTY_INDEXER_NAME
- See Also:
- Constant Field Values
-
PROPERTY_INDEX_TYPE_PAGE
public static final java.lang.String PROPERTY_INDEX_TYPE_PAGE
- See Also:
- Constant Field Values
-
FIELD_ID_TITLE
public static final java.lang.String FIELD_ID_TITLE
- See Also:
- Constant Field Values
-
FIELD_LOGIN_TITLE
public static final java.lang.String FIELD_LOGIN_TITLE
- See Also:
- Constant Field Values
-
FIELD_GIVEN_NAME_TITLE
public static final java.lang.String FIELD_GIVEN_NAME_TITLE
- See Also:
- Constant Field Values
-
FIELD_LAST_NAME_TITLE
public static final java.lang.String FIELD_LAST_NAME_TITLE
- See Also:
- Constant Field Values
-
FIELD_EMAIL_TITLE
public static final java.lang.String FIELD_EMAIL_TITLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
indexDocuments
public void indexDocuments() throws java.io.IOException, java.lang.InterruptedException, fr.paris.lutece.portal.service.message.SiteMessageExceptionIndex all Local Users- Specified by:
indexDocumentsin interfacefr.paris.lutece.portal.service.search.SearchIndexer- Throws:
java.io.IOException- exceptionjava.lang.InterruptedException- exceptionfr.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.SiteMessageExceptionReturn 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:
java.io.IOExceptionjava.lang.InterruptedExceptionfr.paris.lutece.portal.service.message.SiteMessageException
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfacefr.paris.lutece.portal.service.search.SearchIndexer
-
getVersion
public java.lang.String 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
public java.lang.String getDescription()
Returns the indexer service description- Specified by:
getDescriptionin interfacefr.paris.lutece.portal.service.search.SearchIndexer- Returns:
- The indexer service description
-
getListType
public java.util.List<java.lang.String> getListType()
- Specified by:
getListTypein interfacefr.paris.lutece.portal.service.search.SearchIndexer
-
getSpecificSearchAppUrl
public java.lang.String getSpecificSearchAppUrl()
- Specified by:
getSpecificSearchAppUrlin interfacefr.paris.lutece.portal.service.search.SearchIndexer
-
-