Package | Description |
---|---|
org.apache.solr |
Common base classes for implementing tests.
|
org.apache.solr.client.solrj.impl |
Concrete implementations of client API classes.
|
org.apache.solr.common |
Commonly reused classes and interfaces (deprecated package, do not add new classes)
|
org.apache.solr.common.cloud |
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
|
org.apache.solr.schema |
FieldType plugins that have additional dependencies. |
Modifier and Type | Method and Description |
---|---|
static void |
SolrTestCaseJ4.assertQEx(String message,
SolrQueryRequest req,
SolrException.ErrorCode code) |
static void |
SolrTestCaseJ4.assertQEx(String failMessage,
String exceptionMessage,
SolrQueryRequest req,
SolrException.ErrorCode code)
Makes sure a query throws a SolrException with the listed response code and expected message
|
Constructor and Description |
---|
RouteException(SolrException.ErrorCode errorCode,
NamedList<Throwable> throwables,
Map<String,LBHttpSolrServer.Req> routes) |
Modifier and Type | Method and Description |
---|---|
static SolrException.ErrorCode |
SolrException.ErrorCode.getErrorCode(int c) |
static SolrException.ErrorCode |
SolrException.ErrorCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SolrException.ErrorCode[] |
SolrException.ErrorCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
SolrException(SolrException.ErrorCode code,
String msg) |
SolrException(SolrException.ErrorCode code,
String msg,
Throwable th) |
SolrException(SolrException.ErrorCode code,
Throwable th) |
Constructor and Description |
---|
ZooKeeperException(SolrException.ErrorCode code,
String msg) |
ZooKeeperException(SolrException.ErrorCode code,
String msg,
Throwable th) |
Constructor and Description |
---|
FieldExistsException(SolrException.ErrorCode code,
String msg) |
SchemaChangedInZkException(SolrException.ErrorCode code,
String msg) |
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.