Package | Description |
---|---|
org.apache.solr.client.solrj |
Primary APIs for communicating with a Solr Server from a Java client.
|
org.apache.solr.client.solrj.cloud |
Common classes for SolrCloud.
|
org.apache.solr.client.solrj.cloud.autoscaling |
Common classes for autoscaling parsing filtering nodes and sorting
|
org.apache.solr.client.solrj.impl |
Concrete implementations of client API classes.
|
org.apache.solr.client.solrj.request |
Convenience classes for dealing with various types of Solr requests.
|
org.apache.solr.client.solrj.request.json |
Allows sending of requests using Solr's JSON query/faceting API
|
org.apache.solr.client.solrj.request.schema |
Convenience classes for making Schema API requests.
|
org.apache.solr.common.util |
Common utility classes reused on both clients & server.
|
Modifier and Type | Method and Description |
---|---|
SolrRequest |
V2RequestSupport.getV2Request()
If usev2 flag is set to true, return V2Request, if not,
return V1 request object
|
SolrRequest |
SolrRequest.setBasicAuthCredentials(String user,
String password) |
SolrRequest |
SolrRequest.setUseBinaryV2(boolean flag)
If set to true use javabin instead of json (default)
|
SolrRequest |
SolrRequest.setUseV2(boolean flag)
If set to true, every request that implements
V2RequestSupport will be converted
to a V2 API call |
Modifier and Type | Method and Description |
---|---|
NamedList<Object> |
SolrClient.request(SolrRequest request)
Execute a request against a Solr server
|
abstract NamedList<Object> |
SolrClient.request(SolrRequest request,
String collection)
Execute a request against a Solr server for a given collection
|
Modifier and Type | Method and Description |
---|---|
SolrResponse |
SolrCloudManager.request(SolrRequest req) |
Modifier and Type | Method and Description |
---|---|
SolrRequest |
Suggester.SuggestionInfo.getOperation() |
SolrRequest |
NoneSuggester.getSuggestion() |
SolrRequest |
UnsupportedSuggester.getSuggestion() |
SolrRequest |
Suggester.getSuggestion() |
Modifier and Type | Method and Description |
---|---|
SolrResponse |
DelegatingCloudManager.request(SolrRequest req) |
Constructor and Description |
---|
SuggestionInfo(Violation violation,
SolrRequest op,
Suggestion.Type type) |
Modifier and Type | Field and Description |
---|---|
protected SolrRequest |
LBSolrClient.Req.request |
Modifier and Type | Method and Description |
---|---|
SolrRequest |
LBSolrClient.Req.getRequest() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpRequestBase |
HttpSolrClient.createMethod(SolrRequest request,
String collection) |
protected org.apache.http.client.methods.HttpRequestBase |
DelegationTokenHttpSolrClient.createMethod(SolrRequest request,
String collection) |
Collection<ContentStream> |
BinaryRequestWriter.getContentStreams(SolrRequest req) |
RequestWriter.ContentWriter |
BinaryRequestWriter.getContentWriter(SolrRequest req) |
HttpSolrClient.HttpUriRequestResponse |
HttpSolrClient.httpUriRequest(SolrRequest request) |
HttpSolrClient.HttpUriRequestResponse |
HttpSolrClient.httpUriRequest(SolrRequest request,
ResponseParser processor) |
boolean |
Http2SolrClient.isV2ApiRequest(SolrRequest request) |
protected LBSolrClient.ServerWrapper |
LBSolrClient.pickServer(LBSolrClient.ServerWrapper[] aliveServerList,
SolrRequest request)
Pick a server from list to execute request.
|
SolrResponse |
SolrClientCloudManager.request(SolrRequest req) |
NamedList<Object> |
HttpSolrClient.request(SolrRequest request,
ResponseParser processor) |
NamedList<Object> |
HttpSolrClient.request(SolrRequest request,
ResponseParser processor,
String collection) |
NamedList<Object> |
ConcurrentUpdateHttp2SolrClient.request(SolrRequest request,
String collection) |
NamedList<Object> |
LBSolrClient.request(SolrRequest request,
String collection)
Tries to query a live server.
|
NamedList<Object> |
HttpSolrClient.request(SolrRequest request,
String collection)
Process the request.
|
NamedList<Object> |
ConcurrentUpdateSolrClient.request(SolrRequest request,
String collection) |
NamedList<Object> |
Http2SolrClient.request(SolrRequest request,
String collection) |
NamedList<Object> |
BaseCloudSolrClient.request(SolrRequest request,
String collection) |
NamedList<Object> |
Http2SolrClient.request(SolrRequest solrRequest,
String collection,
Http2SolrClient.OnComplete onComplete) |
NamedList<Object> |
LBSolrClient.request(SolrRequest request,
String collection,
Integer numServersToTry) |
protected NamedList<Object> |
BaseCloudSolrClient.requestWithRetryOnStaleState(SolrRequest request,
int retryCount,
List<String> inputCollections)
As this class doesn't watch external collections on the client side,
there's a chance that the request will fail due to cached stale state,
which means the state must be refreshed from ZK and retried.
|
void |
Http2SolrClient.send(Http2SolrClient.OutStream outStream,
SolrRequest req,
String collection) |
protected NamedList<Object> |
BaseCloudSolrClient.sendRequest(SolrRequest request,
List<String> inputCollections) |
void |
BinaryRequestWriter.write(SolrRequest request,
OutputStream os) |
Constructor and Description |
---|
Req(SolrRequest request,
List<String> servers)
Deprecated.
|
Req(SolrRequest request,
List<String> servers) |
Req(SolrRequest request,
List<String> servers,
Integer numServersToTry)
Deprecated.
|
Req(SolrRequest request,
List<String> servers,
Integer numServersToTry) |
Modifier and Type | Method and Description |
---|---|
SolrRequest |
CollectionAdminRequest.getV2Request() |
Modifier and Type | Method and Description |
---|---|
Collection<ContentStream> |
RequestWriter.getContentStreams(SolrRequest req)
Deprecated.
|
RequestWriter.ContentWriter |
RequestWriter.getContentWriter(SolrRequest req)
Use this to do a push writing instead of pull.
|
String |
RequestWriter.getPath(SolrRequest req) |
void |
RequestWriter.write(SolrRequest request,
OutputStream os) |
Modifier and Type | Class and Description |
---|---|
class |
DirectJsonQueryRequest
Represents a query using the JSON Query DSL
This class doesn't construct the request body itself.
|
class |
JsonQueryRequest
Represents a query using the JSON Query DSL
This class constructs the request using setters for individual properties.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSchemaRequest<T extends SolrResponse> |
class |
SchemaRequest
This class offers access to the operations exposed by the Solr Schema API.
|
static class |
SchemaRequest.AddCopyField
Adds a new copy field rule to the schema of the specified collection.
|
static class |
SchemaRequest.AddDynamicField
Adds a new dynamic field rule to the schema of the specified collection.
|
static class |
SchemaRequest.AddField
Adds a new field definition to the schema.
|
static class |
SchemaRequest.AddFieldType
Update request used to add a new field type to the schema.
|
static class |
SchemaRequest.CopyFields
Schema API request that retrieves the source and destination of
each copy field in the schema.
|
static class |
SchemaRequest.DeleteCopyField
Deletes a copy field rule from the schema of the specified collection.
|
static class |
SchemaRequest.DeleteDynamicField
Deletes a dynamic field rule from your schema.
|
static class |
SchemaRequest.DeleteField
Removes a field definition from the schema.
|
static class |
SchemaRequest.DeleteFieldType
Removes a field type from the schema of the specified collection.
|
static class |
SchemaRequest.DynamicField
Schema API request that lists the dynamic field definition for the specified field
contained in the schema.
|
static class |
SchemaRequest.DynamicFields
Schema API request that lists the dynamic field definitions contained in the schema.
|
static class |
SchemaRequest.Field
Schema API request that lists the field definition for the specified field
contained in the schema.
|
static class |
SchemaRequest.Fields
Schema API request class that lists the field definitions contained in the schema.
|
static class |
SchemaRequest.FieldType
Schema API request that retrieves the type definitions for the specified field
type contained in the schema.
|
static class |
SchemaRequest.FieldTypes
Schema API request that lists the types definitions contained
in the schema.
|
static class |
SchemaRequest.GlobalSimilarity
Retrieves the class name of the global similarity defined (if any) in the schema.
|
static class |
SchemaRequest.MultiUpdate
The Schema API offers the possibility to perform one or more add requests in a single command.
|
static class |
SchemaRequest.ReplaceDynamicField
Replaces a dynamic field rule in the schema of the specified collection.
|
static class |
SchemaRequest.ReplaceField
Replaces a field's definition.
|
static class |
SchemaRequest.ReplaceFieldType
Replaces a field type in schema belonging to the schema of the specified collection.
|
static class |
SchemaRequest.SchemaName
Schema API request class that can be used to retrieve the name of the schema.
|
static class |
SchemaRequest.SchemaVersion
Schema API request that can be used to retrieve the version
of the schema for the specified collection.
|
static class |
SchemaRequest.UniqueKey
Schema API request that retrieves the field name that is defined as
the uniqueKey for the index of the specified collection.
|
static class |
SchemaRequest.Update |
Modifier and Type | Method and Description |
---|---|
static ContentStream |
ContentStreamBase.create(RequestWriter requestWriter,
SolrRequest req) |
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.