Package org.apache.solr
Class SolrTestCaseHS.Client
java.lang.Object
org.apache.solr.SolrTestCaseHS.Client
- Enclosing class:
SolrTestCaseHS
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(org.apache.solr.common.SolrInputDocument sdoc, org.apache.solr.common.params.ModifiableSolrParams params) voidcommit()voiddeleteByQuery(String query) static inthash(int x) booleanlocal()static SolrTestCaseHS.Clientorg.apache.solr.common.params.ModifiableSolrParamsvoidvoidtests are validated against xml response
-
Field Details
-
tester
-
localClient
-
-
Constructor Details
-
Client
-
-
Method Details
-
localClient
-
hash
public static int hash(int x) -
queryDefaults
public org.apache.solr.common.params.ModifiableSolrParams queryDefaults() -
local
public boolean local() -
getClientProvider
-
testJQ
- Throws:
Exception
-
testXQ
tests are validated against xml response- Throws:
Exception
-
add
public Long add(org.apache.solr.common.SolrInputDocument sdoc, org.apache.solr.common.params.ModifiableSolrParams params) throws Exception - Throws:
Exception
-
commit
- Throws:
IOExceptionorg.apache.solr.client.solrj.SolrServerException
-
deleteByQuery
public void deleteByQuery(String query) throws IOException, org.apache.solr.client.solrj.SolrServerException - Throws:
IOExceptionorg.apache.solr.client.solrj.SolrServerException
-