public class DemoShopSolrClient
extends org.junit.rules.ExternalResource
Modifier and Type | Field and Description |
---|---|
private CoreLookup |
coreLookup |
private DemoShop |
demoShop |
private static Index |
INDEX |
private boolean |
indexed |
private IndexService |
indexService |
private static SolrTestServer |
SERVER |
private SolrClient |
solrjClient |
Modifier | Constructor and Description |
---|---|
private |
DemoShopSolrClient() |
Modifier and Type | Method and Description |
---|---|
void |
addProductsToIndex(IndexItems addItems) |
protected void |
after() |
protected void |
before() |
private void |
commit() |
private void |
createIndex() |
private void |
deleteIndex() |
void |
deleteProductsFromIndex(IndexItems deleteItems) |
DemoShop |
getDemoShop() |
static DemoShopSolrClient |
getInstance() |
<T> T |
getInstance(java.lang.Class<T> clazz) |
long |
getNumberOfProducts() |
boolean |
indexContainsProduct(GUID productGUID) |
private static final Index INDEX
private static final SolrTestServer SERVER
private DemoShop demoShop
private IndexService indexService
private SolrClient solrjClient
private CoreLookup coreLookup
private boolean indexed
public static DemoShopSolrClient getInstance()
private void commit()
private void createIndex()
private void deleteIndex()
public void deleteProductsFromIndex(IndexItems deleteItems)
public void addProductsToIndex(IndexItems addItems)
public boolean indexContainsProduct(GUID productGUID)
public long getNumberOfProducts()
public <T> T getInstance(java.lang.Class<T> clazz)
public DemoShop getDemoShop()
protected void before() throws java.lang.Throwable
before
in class org.junit.rules.ExternalResource
java.lang.Throwable
protected void after()
after
in class org.junit.rules.ExternalResource