| 程序包 | 说明 |
|---|---|
| org.apache.solr.client.solrj.impl |
Concrete implementations of client API classes.
|
| org.apache.solr.common |
Common classes reused on both clients & server for dealing with
documents to be indexed and result documents. |
| org.apache.solr.common.cloud |
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected BaseCloudSolrClient.RouteException |
BaseCloudSolrClient.getRouteException(SolrException.ErrorCode serverError,
NamedList<Throwable> exceptions,
Map<String,? extends LBSolrClient.Req> routes) |
protected CloudSolrClient.RouteException |
CloudSolrClient.getRouteException(SolrException.ErrorCode serverError,
NamedList<Throwable> exceptions,
Map<String,? extends LBSolrClient.Req> routes) |
| 构造器和说明 |
|---|
RouteException(SolrException.ErrorCode errorCode,
NamedList<Throwable> throwables,
Map<String,? extends LBSolrClient.Req> routes) |
RouteException(SolrException.ErrorCode errorCode,
NamedList<Throwable> throwables,
Map<String,? extends LBSolrClient.Req> routes)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static SolrException.ErrorCode |
SolrException.ErrorCode.getErrorCode(int c) |
static SolrException.ErrorCode |
SolrException.ErrorCode.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SolrException.ErrorCode[] |
SolrException.ErrorCode.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 构造器和说明 |
|---|
SolrException(SolrException.ErrorCode code,
String msg) |
SolrException(SolrException.ErrorCode code,
String msg,
Throwable th) |
SolrException(SolrException.ErrorCode code,
Throwable th) |
| 构造器和说明 |
|---|
ZooKeeperException(SolrException.ErrorCode code,
String msg) |
ZooKeeperException(SolrException.ErrorCode code,
String msg,
Throwable th) |
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.