Package org.mycore.solr.index.document
Class MCRSolrInputDocumentFactory
java.lang.Object
org.mycore.solr.index.document.MCRSolrInputDocumentFactory
- Direct Known Subclasses:
MCRSolrTransformerInputDocumentFactory
- Author:
- Thomas Scheffler (yagee)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.solr.common.SolrInputDocument
getDocument
(MCRBase derOrObj) org.apache.solr.common.SolrInputDocument
abstract org.apache.solr.common.SolrInputDocument
getDocument
(MCRObjectID id, MCRContent content) abstract Iterator<org.apache.solr.common.SolrInputDocument>
getDocuments
(Map<MCRObjectID, MCRContent> contentMap) static MCRSolrInputDocumentFactory
-
Constructor Details
-
MCRSolrInputDocumentFactory
public MCRSolrInputDocumentFactory()
-
-
Method Details
-
getInstance
-
getDocument
public abstract org.apache.solr.common.SolrInputDocument getDocument(MCRObjectID id, MCRContent content) throws SAXException, IOException - Throws:
SAXException
IOException
-
getDocuments
public abstract Iterator<org.apache.solr.common.SolrInputDocument> getDocuments(Map<MCRObjectID, MCRContent> contentMap) throws IOException, SAXException- Throws:
IOException
SAXException
-
getDocument
public org.apache.solr.common.SolrInputDocument getDocument(MCRObjectID id) throws SAXException, IOException - Throws:
SAXException
IOException
-
getDocument
public org.apache.solr.common.SolrInputDocument getDocument(MCRBase derOrObj) throws SAXException, IOException - Throws:
SAXException
IOException
-