|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.search.solr.indexer.SolrPageIndexer
public class SolrPageIndexer
The indexer service for Solr.
| Field Summary | |
|---|---|
static java.lang.String |
NAME
|
| Constructor Summary | |
|---|---|
SolrPageIndexer()
Creates a new SolrPageIndexer |
|
| 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. |
java.util.List<java.lang.String> |
indexDocuments()
Index all solr documents from the plugin, replace List |
boolean |
isEnable()
Tells whether the service is enable or not |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NAME
| Constructor Detail |
|---|
public SolrPageIndexer()
| Method Detail |
|---|
public java.util.List<java.lang.String> indexDocuments()
indexDocuments in interface SolrIndexerpublic java.lang.String getName()
getName in interface SolrIndexerpublic java.lang.String getVersion()
getVersion in interface SolrIndexerpublic java.lang.String getDescription()
getDescription in interface SolrIndexerpublic boolean isEnable()
isEnable in interface SolrIndexerpublic java.util.List<Field> getAdditionalFields()
SolrItem suffix (SolrItem.DYNAMIC_URL_FIELD_SUFFIX, SolrItem.DYNAMIC_TEXT_FIELD_SUFFIX ...)
getAdditionalFields in interface SolrIndexerpublic java.util.List<SolrItem> getDocuments(java.lang.String strIdDocument)
getDocuments in interface SolrIndexerstrIdDocument - the identifier of the document to convert into a SolrItem object
public java.util.List<java.lang.String> getResourcesName()
getResourcesName in interface SolrIndexer
public java.lang.String getResourceUid(java.lang.String strResourceId,
java.lang.String strResourceType)
getResourceUid in interface SolrIndexerstrResourceId - 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 | |||||||||