public static class SolrTestCaseHS.Client extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SolrTestCaseHS.Client.Tester |
Modifier and Type | Field and Description |
---|---|
static SolrTestCaseHS.Client |
localClient |
SolrTestCaseHS.Client.Tester |
tester |
Constructor and Description |
---|
Client(List<org.apache.solr.client.solrj.SolrClient> clients,
int seed) |
Modifier and Type | Method and Description |
---|---|
Long |
add(org.apache.solr.common.SolrInputDocument sdoc,
org.apache.solr.common.params.ModifiableSolrParams params) |
void |
commit() |
void |
deleteByQuery(String query,
org.apache.solr.common.params.ModifiableSolrParams params) |
SolrTestCaseHS.ClientProvider |
getClientProvider() |
static int |
hash(int x) |
boolean |
local() |
static SolrTestCaseHS.Client |
localClient() |
org.apache.solr.common.params.ModifiableSolrParams |
queryDefaults() |
void |
testJQ(org.apache.solr.common.params.SolrParams args,
String... tests) |
public SolrTestCaseHS.Client.Tester tester
public static SolrTestCaseHS.Client localClient
public Client(List<org.apache.solr.client.solrj.SolrClient> clients, int seed)
public static SolrTestCaseHS.Client localClient()
public static int hash(int x)
public org.apache.solr.common.params.ModifiableSolrParams queryDefaults()
public boolean local()
public SolrTestCaseHS.ClientProvider getClientProvider()
public void testJQ(org.apache.solr.common.params.SolrParams args, String... tests) throws Exception
Exception
public Long add(org.apache.solr.common.SolrInputDocument sdoc, org.apache.solr.common.params.ModifiableSolrParams params) throws Exception
Exception
public void commit() throws IOException, org.apache.solr.client.solrj.SolrServerException
IOException
org.apache.solr.client.solrj.SolrServerException
public void deleteByQuery(String query, org.apache.solr.common.params.ModifiableSolrParams params) throws IOException, org.apache.solr.client.solrj.SolrServerException
IOException
org.apache.solr.client.solrj.SolrServerException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.