Package | Description |
---|---|
org.apache.solr.client.solrj |
Primary APIs for communicating with a Solr Server from a Java client.
|
org.apache.solr.client.solrj.impl |
Concrete implementations of client API classes.
|
org.apache.solr.client.solrj.response |
Convenience classes for dealing with various types of Solr responses.
|
org.apache.solr.common.params |
Parameter constants and enumerations.
|
org.apache.solr.common.util |
Common utility classes reused on both clients & server.
|
Modifier and Type | Method and Description |
---|---|
abstract NamedList<Object> |
SolrResponse.getResponse() |
abstract NamedList<Object> |
ResponseParser.processResponse(InputStream body,
String encoding) |
abstract NamedList<Object> |
ResponseParser.processResponse(Reader reader) |
abstract NamedList<Object> |
SolrServer.request(SolrRequest request)
SolrServer implementations need to implement how a request is actually processed
|
Modifier and Type | Method and Description |
---|---|
abstract void |
SolrResponse.setResponse(NamedList<Object> rsp) |
Modifier and Type | Class and Description |
---|---|
static class |
CloudSolrServer.RouteResponse |
Modifier and Type | Field and Description |
---|---|
protected NamedList<Object> |
LBHttpSolrServer.Rsp.rsp |
Modifier and Type | Field and Description |
---|---|
Future<NamedList<Object>> |
HttpSolrServer.HttpUriRequestResponse.future |
Modifier and Type | Method and Description |
---|---|
protected NamedList<Object> |
HttpSolrServer.executeMethod(org.apache.http.client.methods.HttpRequestBase method,
ResponseParser processor) |
NamedList<Object> |
LBHttpSolrServer.Rsp.getResponse()
The response from the server
|
NamedList |
CloudSolrServer.RouteResponse.getRouteResponses() |
NamedList<Throwable> |
CloudSolrServer.RouteException.getThrowables() |
NamedList<Object> |
StreamingBinaryResponseParser.processResponse(InputStream body,
String encoding) |
NamedList<Object> |
XMLResponseParser.processResponse(InputStream in,
String encoding) |
NamedList<Object> |
BinaryResponseParser.processResponse(InputStream body,
String encoding) |
NamedList<Object> |
NoOpResponseParser.processResponse(InputStream body,
String encoding) |
NamedList<Object> |
XMLResponseParser.processResponse(Reader in) |
NamedList<Object> |
BinaryResponseParser.processResponse(Reader reader) |
NamedList<Object> |
NoOpResponseParser.processResponse(Reader reader) |
protected NamedList<Object> |
XMLResponseParser.readNamedList(XMLStreamReader parser) |
NamedList<Object> |
LBHttpSolrServer.request(SolrRequest request)
Tries to query a live server.
|
NamedList<Object> |
ConcurrentUpdateSolrServer.request(SolrRequest request) |
NamedList<Object> |
HttpSolrServer.request(SolrRequest request)
Process the request.
|
NamedList<Object> |
CloudSolrServer.request(SolrRequest request) |
NamedList<Object> |
HttpSolrServer.request(SolrRequest request,
ResponseParser processor) |
Modifier and Type | Method and Description |
---|---|
CloudSolrServer.RouteResponse |
CloudSolrServer.condenseResponse(NamedList response,
long timeMillis) |
void |
CloudSolrServer.RouteResponse.setRouteResponses(NamedList routeResponses) |
Constructor and Description |
---|
CloudSolrServer.RouteException(SolrException.ErrorCode errorCode,
NamedList<Throwable> throwables,
Map<String,LBHttpSolrServer.Req> routes) |
Modifier and Type | Method and Description |
---|---|
NamedList<NamedList<Object>> |
CollectionAdminResponse.getCollectionStatus() |
NamedList<NamedList<Object>> |
CoreAdminResponse.getCoreStatus() |
NamedList<Object> |
CoreAdminResponse.getCoreStatus(String core) |
NamedList<String> |
CollectionAdminResponse.getErrorMessages() |
NamedList<List<PivotField>> |
QueryResponse.getFacetPivot() |
NamedList<Object> |
QueryResponse.getHeader() |
NamedList<Object> |
LukeResponse.getIndexInfo() |
NamedList<Object> |
SolrResponseBase.getResponse() |
NamedList |
SolrResponseBase.getResponseHeader() |
NamedList<ArrayList> |
QueryResponse.getSortValues() |
NamedList<Integer> |
LukeResponse.FieldInfo.getTopTerms() |
Modifier and Type | Method and Description |
---|---|
Map<String,NamedList<Integer>> |
CollectionAdminResponse.getCollectionCoresStatus() |
Map<String,NamedList<Integer>> |
CollectionAdminResponse.getCollectionNodesStatus() |
NamedList<NamedList<Object>> |
CollectionAdminResponse.getCollectionStatus() |
NamedList<NamedList<Object>> |
CoreAdminResponse.getCoreStatus() |
Modifier and Type | Method and Description |
---|---|
protected List<AnalysisResponseBase.AnalysisPhase> |
AnalysisResponseBase.buildPhases(NamedList<List<NamedList<Object>>> phaseNL)
Parses the given named list and builds a list of analysis phases form it.
|
protected AnalysisResponseBase.TokenInfo |
AnalysisResponseBase.buildTokenInfo(NamedList<Object> tokenNL)
Parses the given named list and builds a token infoform it.
|
void |
LukeResponse.FieldTypeInfo.read(NamedList<Object> nl) |
void |
LukeResponse.FieldInfo.read(NamedList<Object> nl) |
void |
SolrResponseBase.setResponse(NamedList<Object> response) |
void |
LukeResponse.setResponse(NamedList<Object> res) |
void |
DocumentAnalysisResponse.setResponse(NamedList<Object> response) |
void |
FieldAnalysisResponse.setResponse(NamedList<Object> response) |
void |
QueryResponse.setResponse(NamedList<Object> res) |
Modifier and Type | Method and Description |
---|---|
protected List<AnalysisResponseBase.AnalysisPhase> |
AnalysisResponseBase.buildPhases(NamedList<List<NamedList<Object>>> phaseNL)
Parses the given named list and builds a list of analysis phases form it.
|
protected List<PivotField> |
QueryResponse.readPivots(List<NamedList> list) |
Constructor and Description |
---|
FieldStatsInfo(NamedList<Object> nl,
String fname) |
QueryResponse(NamedList<Object> res,
SolrServer solrServer)
Utility constructor to set the solrServer and namedList
|
SpellCheckResponse.Suggestion(String token,
NamedList<Object> suggestion) |
SpellCheckResponse(NamedList<NamedList<Object>> spellInfo) |
TermsResponse(NamedList<NamedList<Number>> termsInfo) |
Constructor and Description |
---|
SpellCheckResponse(NamedList<NamedList<Object>> spellInfo) |
TermsResponse(NamedList<NamedList<Number>> termsInfo) |
Modifier and Type | Method and Description |
---|---|
NamedList<Object> |
SolrParams.toNamedList()
Convert this to a NamedList
|
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
SolrParams.toMap(NamedList params)
Create a Map<String,String> from a NamedList given no keys are repeated
|
static Map<String,String[]> |
SolrParams.toMultiMap(NamedList params)
Create a Map<String,String[]> from a NamedList
|
static SolrParams |
SolrParams.toSolrParams(NamedList params)
Create SolrParams from NamedList.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleOrderedMap<T>
SimpleOrderedMap is a NamedList where access by key is more
important than maintaining order when it comes to representing the
held data in other forms, as ResponseWriters normally do. |
Modifier and Type | Method and Description |
---|---|
NamedList<T> |
NamedList.clone()
Makes a shallow copy of the named list.
|
NamedList<Object> |
JavaBinCodec.readNamedList(DataInputInputStream dis) |
Modifier and Type | Method and Description |
---|---|
boolean |
NamedList.addAll(NamedList<T> nl)
Appends the elements of the given NamedList to this one.
|
void |
JavaBinCodec.writeNamedList(NamedList<?> nl) |
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.