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 java.lang.Object
- implements fr.paris.lutece.portal.service.search.SearchIndexer
JCR indexer implementation.
|
Method Summary |
java.lang.String |
getDescription()
|
java.util.List<org.apache.lucene.document.Document> |
getDocuments(java.lang.String strIdDocument)
Return lucene documents with id to strIdDocument, among all defined views. |
java.lang.String |
getName()
|
java.lang.String |
getVersion()
|
void |
indexDocuments()
Indexes all files among all defined views. |
boolean |
isEnable()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PLUGIN_NAME
public static final java.lang.String PLUGIN_NAME
- See Also:
- Constant Field Values
SHORT_NAME
public static final java.lang.String SHORT_NAME
- See Also:
- Constant Field Values
JcrIndexer
public JcrIndexer()
getDescription
public java.lang.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 java.io.IOException,
java.lang.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:
java.io.IOException - IO error
java.lang.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 java.util.List<org.apache.lucene.document.Document> getDocuments(java.lang.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 java.lang.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 java.lang.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()
Copyright © 2009 Mairie de Paris. All Rights Reserved.