Interface Exporter
- All Known Implementing Classes:
SolrServerExporter,XMLExporter
public interface Exporter
Bean sends solrDocuments to solrServer. Particular implementation are designed for different server modes.
-
Method Summary
Modifier and TypeMethodDescriptionvoidexportToDeleteFromIndex(Collection<String> idsToDelete, FacetSearchConfig facetSearchConfig, IndexedType indexedType) Methods delete solr documents from solr server.voidexportToUpdateIndex(Collection<org.apache.solr.common.SolrInputDocument> solrDocuments, FacetSearchConfig facetSearchConfig, IndexedType indexedType) Method exports solrDocuments to indexer for update.
-
Method Details
-
exportToUpdateIndex
void exportToUpdateIndex(Collection<org.apache.solr.common.SolrInputDocument> solrDocuments, FacetSearchConfig facetSearchConfig, IndexedType indexedType) throws ExporterException Method exports solrDocuments to indexer for update.- Parameters:
solrDocuments-facetSearchConfig-indexedType-- Throws:
ExporterException
-
exportToDeleteFromIndex
void exportToDeleteFromIndex(Collection<String> idsToDelete, FacetSearchConfig facetSearchConfig, IndexedType indexedType) throws ExporterException Methods delete solr documents from solr server.- Parameters:
idsToDelete- solrDfacetSearchConfig-indexedType-- Throws:
ExporterException
-