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.request |
Convenience classes for dealing with various types of Solr requests.
|
org.apache.solr.client.solrj.request.schema |
Convenience classes for making Schema API requests.
|
Modifier and Type | Method and Description |
---|---|
SolrRequest |
SolrRequest.setBasicAuthCredentials(String user,
String password) |
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 | Field and Description |
---|---|
protected SolrRequest |
LBHttpSolrClient.Req.request |
Modifier and Type | Method and Description |
---|---|
SolrRequest |
LBHttpSolrClient.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) |
HttpSolrClient.HttpUriRequestResponse |
HttpSolrClient.httpUriRequest(SolrRequest request) |
HttpSolrClient.HttpUriRequestResponse |
HttpSolrClient.httpUriRequest(SolrRequest request,
ResponseParser processor) |
NamedList<Object> |
HttpSolrClient.request(SolrRequest request,
ResponseParser processor) |
NamedList<Object> |
HttpSolrClient.request(SolrRequest request,
ResponseParser processor,
String collection) |
NamedList<Object> |
LBHttpSolrClient.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> |
CloudSolrClient.request(SolrRequest request,
String collection) |
protected NamedList<Object> |
CloudSolrClient.requestWithRetryOnStaleState(SolrRequest request,
int retryCount,
String collection)
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.
|
protected NamedList<Object> |
CloudSolrClient.sendRequest(SolrRequest request,
String collection) |
void |
BinaryRequestWriter.write(SolrRequest request,
OutputStream os) |
Constructor and Description |
---|
Req(SolrRequest request,
List<String> servers) |
Modifier and Type | Method and Description |
---|---|
Collection<ContentStream> |
RequestWriter.getContentStreams(SolrRequest req) |
String |
RequestWriter.getPath(SolrRequest req) |
void |
RequestWriter.write(SolrRequest request,
OutputStream os) |
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.DefaultQueryOperator
Retrieves the default operator if it is defined 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 |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.