|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SolrIndexer
SolrIndexer
| Method Summary | |
|---|---|
java.util.List<Field> |
getAdditionalFields()
Returns the list of dynamic fields. |
java.lang.String |
getDescription()
Returns the description. |
java.util.List<SolrItem> |
getDocuments(java.lang.String strIdDocument)
Returns a list of SolR documents to add to the index |
java.lang.String |
getName()
Returns the name of the indexer. |
java.util.List<java.lang.String> |
getResourcesName()
Returns the name of the indexed resources. |
java.lang.String |
getResourceUid(java.lang.String strResourceId,
java.lang.String strResourceType)
Return the uid of a resource |
java.lang.String |
getVersion()
Returns the version. |
void |
indexDocuments()
Index all solr documents from the plugin, replace List |
boolean |
isEnable()
Tells whether the service is enable or not |
| Method Detail |
|---|
void indexDocuments()
throws java.io.IOException,
java.lang.InterruptedException,
fr.paris.lutece.portal.service.message.SiteMessageException
java.io.IOException - If an IO error occured
java.lang.InterruptedException - If a thread error occured
fr.paris.lutece.portal.service.message.SiteMessageException - occurs when a site message need to be displayedjava.lang.String getName()
java.lang.String getVersion()
java.lang.String getDescription()
boolean isEnable()
java.util.List<Field> getAdditionalFields()
SolrItem suffix (SolrItem.DYNAMIC_URL_FIELD_SUFFIX, SolrItem.DYNAMIC_TEXT_FIELD_SUFFIX ...)
java.util.List<SolrItem> getDocuments(java.lang.String strIdDocument)
strIdDocument - the identifier of the document to convert into a SolrItem object
java.util.List<java.lang.String> getResourcesName()
java.lang.String getResourceUid(java.lang.String strResourceId,
java.lang.String strResourceType)
strResourceId - the identifier of the resourcestrResourceType - the type of the resource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||