public final class IndexServiceSingleCore extends java.lang.Object implements IndexService
Modifier and Type | Field and Description |
---|---|
private CoreLookup |
coreLookup |
private ProductAddService |
productAddService |
private SolrClient |
solrjClient |
Constructor and Description |
---|
IndexServiceSingleCore(ProductAddService productAddService,
SolrClient solrjClient,
CoreLookup coreLookup) |
private final ProductAddService productAddService
private final SolrClient solrjClient
private final CoreLookup coreLookup
@Inject public IndexServiceSingleCore(ProductAddService productAddService, SolrClient solrjClient, CoreLookup coreLookup)
public boolean create(Index index)
create
in interface IndexService
public boolean addProductsToIndex(Index index, java.util.List<IndexItem> items)
addProductsToIndex
in interface IndexService
public boolean drop(Index index)
drop
in interface IndexService