fr.paris.lutece.plugins.jcr.service.search
Class JcrIndexer
java.lang.Object
fr.paris.lutece.plugins.jcr.service.search.JcrIndexer
- All Implemented Interfaces:
- fr.paris.lutece.portal.service.search.SearchIndexer
public class JcrIndexer
- extends Object
- implements fr.paris.lutece.portal.service.search.SearchIndexer
JCR indexer implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHORT_NAME
public static final String SHORT_NAME
- See Also:
- Constant Field Values
JcrIndexer
public JcrIndexer()
getDescription
public String getDescription()
- Specified by:
getDescription
in interface fr.paris.lutece.portal.service.search.SearchIndexer
- Returns:
- the description of this indexer
- See Also:
SearchIndexer.getDescription()
indexDocuments
public void indexDocuments()
throws IOException,
InterruptedException,
fr.paris.lutece.portal.service.message.SiteMessageException
- Indexes all files among all defined views.
- Specified by:
indexDocuments
in interface fr.paris.lutece.portal.service.search.SearchIndexer
- Throws:
IOException
- IO error
InterruptedException
- when recieving a signal
fr.paris.lutece.portal.service.message.SiteMessageException
- other cases- See Also:
fr.paris.lutece.portal.service.search.SearchIndexer#getDocuments()
getDocuments
public List<org.apache.lucene.document.Document> getDocuments(String strIdDocument)
- Return lucene documents with id to strIdDocument, among all defined views.
- Specified by:
getDocuments
in interface fr.paris.lutece.portal.service.search.SearchIndexer
- Returns:
- a list of Lucene documents
getName
public String getName()
- Specified by:
getName
in interface fr.paris.lutece.portal.service.search.SearchIndexer
- Returns:
- the name of the indexer
- See Also:
SearchIndexer.getName()
getVersion
public String getVersion()
- Specified by:
getVersion
in interface fr.paris.lutece.portal.service.search.SearchIndexer
- Returns:
- the version of the indexer
- See Also:
SearchIndexer.getVersion()
isEnable
public boolean isEnable()
- Specified by:
isEnable
in interface fr.paris.lutece.portal.service.search.SearchIndexer
- Returns:
- true if indexer is enabled
- See Also:
SearchIndexer.isEnable()
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
Copyright © 2014 Mairie de Paris. All Rights Reserved.