Class MCRSolrMCRContentMapIndexHandler
java.lang.Object
org.mycore.solr.index.handlers.MCRSolrAbstractIndexHandler
org.mycore.solr.index.handlers.content.MCRSolrMCRContentMapIndexHandler
- All Implemented Interfaces:
MCRSolrIndexHandler
- Author:
- Thomas Scheffler (yagee)
-
Field Summary
Fields inherited from class org.mycore.solr.index.handlers.MCRSolrAbstractIndexHandler
commitWithin, solrClient
-
Constructor Summary
ConstructorDescriptionMCRSolrMCRContentMapIndexHandler
(Map<MCRObjectID, MCRContent> contentMap) MCRSolrMCRContentMapIndexHandler
(Map<MCRObjectID, MCRContent> contentMap, org.apache.solr.client.solrj.SolrClient solrClient) -
Method Summary
Methods inherited from class org.mycore.solr.index.handlers.MCRSolrAbstractIndexHandler
getCommitWithin, getSolrClient, getUpdateRequest, setCommitWithin, setSolrServer
-
Constructor Details
-
MCRSolrMCRContentMapIndexHandler
-
MCRSolrMCRContentMapIndexHandler
public MCRSolrMCRContentMapIndexHandler(Map<MCRObjectID, MCRContent> contentMap, org.apache.solr.client.solrj.SolrClient solrClient)
-
-
Method Details
-
getStatistic
-
index
Description copied from interface:MCRSolrIndexHandler
Commits something to solr.- Specified by:
index
in interfaceMCRSolrIndexHandler
- Specified by:
index
in classMCRSolrAbstractIndexHandler
- Throws:
IOException
org.apache.solr.client.solrj.SolrServerException
-
getSubHandlers
Description copied from interface:MCRSolrIndexHandler
Returns a list of index handlers which should be executed after the default index process. Return an empty list if no sub handlers are defined.- Specified by:
getSubHandlers
in interfaceMCRSolrIndexHandler
- Overrides:
getSubHandlers
in classMCRSolrAbstractIndexHandler
- Returns:
- list of
MCRSolrIndexHandler
-
getDocuments
public int getDocuments()- Specified by:
getDocuments
in interfaceMCRSolrIndexHandler
- Overrides:
getDocuments
in classMCRSolrAbstractIndexHandler
-
toString
-