Uses of Class
org.apache.solr.client.solrj.SolrRequest
-
Packages that use SolrRequest 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.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 APIorg.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. -
-
Uses of SolrRequest in org.apache.solr.client.solrj
Methods in org.apache.solr.client.solrj that return SolrRequest Modifier and Type Method Description SolrRequest
V2RequestSupport. getV2Request()
If usev2 flag is set to true, return V2Request, if not, return V1 request objectSolrRequest<T>
SolrRequest. setBasicAuthCredentials(String user, String password)
SolrRequest<T>
SolrRequest. setUseBinaryV2(boolean flag)
If set to true use javabin instead of json (default)SolrRequest<T>
SolrRequest. setUseV2(boolean flag)
If set to true, every request that implementsV2RequestSupport
will be converted to a V2 API callMethods in org.apache.solr.client.solrj with parameters of type SolrRequest Modifier and Type Method Description NamedList<Object>
SolrClient. request(SolrRequest<?> request)
Execute a request against a Solr serverabstract NamedList<Object>
SolrClient. request(SolrRequest<?> request, String collection)
Execute a request against a Solr server for a given collection -
Uses of SolrRequest in org.apache.solr.client.solrj.cloud
Methods in org.apache.solr.client.solrj.cloud with parameters of type SolrRequest Modifier and Type Method Description <T extends SolrResponse>
TDelegatingCloudManager. request(SolrRequest<T> req)
<T extends SolrResponse>
TSolrCloudManager. request(SolrRequest<T> req)
-
Uses of SolrRequest in org.apache.solr.client.solrj.impl
Fields in org.apache.solr.client.solrj.impl declared as SolrRequest Modifier and Type Field Description protected SolrRequest<?>
LBSolrClient.Req. request
Methods in org.apache.solr.client.solrj.impl that return SolrRequest Modifier and Type Method Description SolrRequest<?>
LBSolrClient.Req. getRequest()
Methods in org.apache.solr.client.solrj.impl with parameters of type SolrRequest Modifier and Type Method Description Cancellable
Http2SolrClient. asyncRequest(SolrRequest<?> solrRequest, String collection, AsyncListener<NamedList<Object>> asyncListener)
protected org.apache.http.client.methods.HttpRequestBase
DelegationTokenHttpSolrClient. createMethod(SolrRequest<?> request, String collection)
protected org.apache.http.client.methods.HttpRequestBase
HttpSolrClient. createMethod(SolrRequest<?> request, String collection)
Deprecated.Collection<ContentStream>
BinaryRequestWriter. getContentStreams(SolrRequest<?> req)
RequestWriter.ContentWriter
BinaryRequestWriter. getContentWriter(SolrRequest<?> req)
HttpSolrClient.HttpUriRequestResponse
HttpSolrClient. httpUriRequest(SolrRequest<?> request)
Deprecated.HttpSolrClient.HttpUriRequestResponse
HttpSolrClient. httpUriRequest(SolrRequest<?> request, ResponseParser processor)
Deprecated.boolean
Http2SolrClient. isV2ApiRequest(SolrRequest<?> request)
protected LBSolrClient.ServerWrapper
LBSolrClient. pickServer(LBSolrClient.ServerWrapper[] aliveServerList, SolrRequest<?> request)
Pick a server from list to execute request.NamedList<Object>
CloudSolrClient. request(SolrRequest<?> request, String collection)
NamedList<Object>
ConcurrentUpdateHttp2SolrClient. request(SolrRequest<?> request, String collection)
NamedList<Object>
ConcurrentUpdateSolrClient. request(SolrRequest<?> request, String collection)
Deprecated.NamedList<Object>
Http2SolrClient. request(SolrRequest<?> solrRequest, String collection)
NamedList<Object>
HttpSolrClient. request(SolrRequest<?> request, String collection)
Deprecated.Process the request.NamedList<Object>
HttpSolrClient. request(SolrRequest<?> request, ResponseParser processor)
Deprecated.NamedList<Object>
HttpSolrClient. request(SolrRequest<?> request, ResponseParser processor, String collection)
Deprecated.NamedList<Object>
LBSolrClient. request(SolrRequest<?> request, String collection)
Tries to query a live server.NamedList<Object>
LBSolrClient. request(SolrRequest<?> request, String collection, Integer numServersToTry)
<T extends SolrResponse>
TSolrClientCloudManager. request(SolrRequest<T> req)
protected NamedList<Object>
CloudSolrClient. 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>
CloudSolrClient. sendRequest(SolrRequest<?> request, List<String> inputCollections)
void
BinaryRequestWriter. write(SolrRequest<?> request, OutputStream os)
Constructors in org.apache.solr.client.solrj.impl with parameters of type SolrRequest Constructor Description Req(SolrRequest<?> request, List<String> servers)
Req(SolrRequest<?> request, List<String> servers, Integer numServersToTry)
-
Uses of SolrRequest in org.apache.solr.client.solrj.request
Methods in org.apache.solr.client.solrj.request with parameters of type SolrRequest Modifier and Type Method 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)
-
Uses of SolrRequest in org.apache.solr.client.solrj.request.json
Subclasses of SolrRequest in org.apache.solr.client.solrj.request.json Modifier and Type Class Description class
DirectJsonQueryRequest
Represents a query using the JSON Query DSLclass
JsonQueryRequest
Represents a query using the JSON Query DSL -
Uses of SolrRequest in org.apache.solr.client.solrj.request.schema
Subclasses of SolrRequest in org.apache.solr.client.solrj.request.schema Modifier and Type Class 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
-
Uses of SolrRequest in org.apache.solr.common.util
Methods in org.apache.solr.common.util with parameters of type SolrRequest Modifier and Type Method Description static ContentStream
ContentStreamBase. create(RequestWriter requestWriter, SolrRequest req)
-