public class SolrPageIndexer extends Object implements SolrIndexer
| Constructor and Description |
|---|
SolrPageIndexer()
Creates a new SolrPageIndexer
|
| Modifier and Type | Method and Description |
|---|---|
List<Field> |
getAdditionalFields()
Returns the list of dynamic fields.
|
String |
getDescription()
Returns the description.
|
List<SolrItem> |
getDocuments(String strIdDocument)
Returns a list of SolR documents to add to the index
|
String |
getName()
Returns the name of the indexer.
|
List<String> |
getResourcesName()
Returns the name of the indexed resources.
|
String |
getResourceUid(String strResourceId,
String strResourceType)
Return the uid of a resource
|
String |
getVersion()
Returns the version.
|
List<String> |
indexDocuments()
Index all solr documents from the plugin, replace List
|
boolean |
isEnable()
Tells whether the service is enable or not
|
public static final String NAME
public List<String> indexDocuments()
indexDocuments in interface SolrIndexerpublic String getName()
getName in interface SolrIndexerpublic String getVersion()
getVersion in interface SolrIndexerpublic String getDescription()
getDescription in interface SolrIndexerpublic boolean isEnable()
isEnable in interface SolrIndexerpublic List<Field> getAdditionalFields()
SolrItem suffix (SolrItem.DYNAMIC_URL_FIELD_SUFFIX, SolrItem.DYNAMIC_TEXT_FIELD_SUFFIX ...)getAdditionalFields in interface SolrIndexerpublic List<SolrItem> getDocuments(String strIdDocument)
getDocuments in interface SolrIndexerstrIdDocument - the identifier of the document to convert into a SolrItem objectpublic List<String> getResourcesName()
getResourcesName in interface SolrIndexerpublic String getResourceUid(String strResourceId, String strResourceType)
getResourceUid in interface SolrIndexerstrResourceId - the identifier of the resourcestrResourceType - the type of the resourceCopyright © 2016 City of Paris. All rights reserved.