## Uses of Class
org.apache.solr.client.solrj.SolrRequest

Packages that use SolrRequest
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.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.

### Uses of SolrRequest in org.apache.solr.client.solrj

Methods in org.apache.solr.client.solrj that return SolrRequest
`SolrRequest` V2RequestSupport.`getV2Request()` If usev2 flag is set to true, return V2Request, if not, return V1 request object
`SolrRequest<T>` SolrRequest.`setBasicAuthCredentials​(String user, String password)`
`SolrRequest<T>` SolrRequest.`setPreferredNodes​(List<String> nodes)`
`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 implements `V2RequestSupport` will be converted to a V2 API call

Methods in org.apache.solr.client.solrj with parameters of type SolrRequest
`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

### Uses of SolrRequest in org.apache.solr.client.solrj.impl

Fields in org.apache.solr.client.solrj.impl declared as SolrRequest
`protected SolrRequest<?>` LBSolrClient.Req.`request`

Methods in org.apache.solr.client.solrj.impl that return SolrRequest
`SolrRequest<?>` LBSolrClient.Req.`getRequest()`

Methods in org.apache.solr.client.solrj.impl with parameters of type SolrRequest
`Cancellable` Http2SolrClient.`asyncRequest​(SolrRequest<?> solrReq, 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)`
`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
`Req​(SolrRequest<?> request, List<String> servers)`
`Req​(SolrRequest<?> request, List<String> servers, Integer numServersToTry)`

### Uses of SolrRequest in org.apache.solr.client.solrj.request

Subclasses of SolrRequest in org.apache.solr.client.solrj.request
`class` `AbstractUpdateRequest`
`static class` `AliasesApi.DeleteAlias`
`static class` `AliasesApi.GetAliasByName`
`static class` `AliasesApi.GetAliases`
`static class` `AliasPropertiesApi.CreateOrUpdateAliasProperty`
`static class` `AliasPropertiesApi.DeleteAliasProperty`
`static class` `AliasPropertiesApi.GetAliasProperty`
`static class` `AliasPropertiesApi.GetAllAliasProperties`
`static class` `AliasPropertiesApi.UpdateAliasProperties`
`static class` `ClusterApi.BalanceReplicas`
`class` `CollectionAdminRequest<T extends CollectionAdminResponse>` This class is experimental and subject to change.
`static class` `CollectionAdminRequest.AddReplica`
`static class` `CollectionAdminRequest.AddReplicaProp`
`static class` `CollectionAdminRequest.AddRole`
`static class` `CollectionAdminRequest.AsyncCollectionAdminRequest` Base class for asynchronous collection admin requests
`protected static class` `CollectionAdminRequest.AsyncCollectionSpecificAdminRequest`
`protected static class` `CollectionAdminRequest.AsyncShardSpecificAdminRequest`
`static class` `CollectionAdminRequest.Backup`
`static class` `CollectionAdminRequest.BalanceShardUnique`
`static class` `CollectionAdminRequest.ClusterProp`
`static class` `CollectionAdminRequest.ClusterStatus`
`protected static class` `CollectionAdminRequest.CollectionAdminRoleRequest`
`static class` `CollectionAdminRequest.CollectionProp`
`static class` `CollectionAdminRequest.ColStatus`
`static class` `CollectionAdminRequest.Create`
`static class` `CollectionAdminRequest.CreateAlias`
`static class` `CollectionAdminRequest.CreateCategoryRoutedAlias`
`static class` `CollectionAdminRequest.CreateShard`
`static class` `CollectionAdminRequest.CreateSnapshot`
`static class` `CollectionAdminRequest.CreateTimeRoutedAlias`
`static class` `CollectionAdminRequest.Delete`
`static class` `CollectionAdminRequest.DeleteAlias`
`static class` `CollectionAdminRequest.DeleteBackup` `SolrRequest` class for the "Backup Deletion" API.
`static class` `CollectionAdminRequest.DeleteNode`
`static class` `CollectionAdminRequest.DeleteReplica`
`static class` `CollectionAdminRequest.DeleteReplicaProp`
`static class` `CollectionAdminRequest.DeleteShard`
`static class` `CollectionAdminRequest.DeleteSnapshot`
`static class` `CollectionAdminRequest.DeleteStatus`
`static class` `CollectionAdminRequest.DimensionalRoutedAlias`
`static class` `CollectionAdminRequest.ForceLeader`
`static class` `CollectionAdminRequest.InstallShard`
`static class` `CollectionAdminRequest.List`
`static class` `CollectionAdminRequest.ListAliases`
`static class` `CollectionAdminRequest.ListBackup` `SolrRequest` class for the "Backup List" API.
`static class` `CollectionAdminRequest.ListSnapshots`
`static class` `CollectionAdminRequest.Migrate`
`static class` `CollectionAdminRequest.MockCollTask`
`static class` `CollectionAdminRequest.Modify` A Modify Collection request
`static class` `CollectionAdminRequest.MoveReplica`
`static class` `CollectionAdminRequest.OverseerStatus`
`static class` `CollectionAdminRequest.RebalanceLeaders`
`static class` `CollectionAdminRequest.ReindexCollection`
`static class` `CollectionAdminRequest.Reload`
`static class` `CollectionAdminRequest.RemoveRole`
`static class` `CollectionAdminRequest.Rename`
`static class` `CollectionAdminRequest.ReplaceNode`
`static class` `CollectionAdminRequest.RequestApiDistributedProcessing`
`static class` `CollectionAdminRequest.RequestStatus`
`static class` `CollectionAdminRequest.Restore`
`static class` `CollectionAdminRequest.SetAliasProperty`
`protected static class` `CollectionAdminRequest.ShardSpecificAdminRequest`
`static class` `CollectionAdminRequest.SplitShard`
`static class` `CollectionBackupsApi.DeleteMultipleBackupsByRecency`
`static class` `CollectionBackupsApi.DeleteSingleBackupById`
`static class` `CollectionBackupsApi.GarbageCollectUnusedBackupFiles`
`static class` `CollectionBackupsApi.ListBackupsAtLocation`
`static class` `CollectionsApi.DeleteCollection`
`static class` `CollectionsApi.ListCollections`
`static class` `CollectionsApi.ReloadCollection`
`static class` `CollectionsApi.RenameCollection`
`class` `ConfigSetAdminRequest<Q extends ConfigSetAdminRequest<Q,​R>,​R extends ConfigSetAdminResponse>` This class is experimental and subject to change.
`protected static class` `ConfigSetAdminRequest.ConfigSetSpecificAdminRequest<T extends ConfigSetAdminRequest<T,​ConfigSetAdminResponse>>`
`static class` `ConfigSetAdminRequest.Create` Creates a new config set by cloning an existing "base" configset.
`static class` `ConfigSetAdminRequest.Delete`
`static class` `ConfigSetAdminRequest.List`
`static class` `ConfigSetAdminRequest.Upload` Uploads files to create a new configset, or modify an existing config set.
`static class` `ConfigsetsApi.ListConfigSet`
`class` `ContentStreamUpdateRequest` Basic functionality to upload a File or `ContentStream` to a Solr Cell or some other handler that takes ContentStreams (CSV)
`class` `CoreAdminRequest` This class is experimental and subject to change.
`static class` `CoreAdminRequest.Create`
`static class` `CoreAdminRequest.CreateSnapshot`
`static class` `CoreAdminRequest.DeleteSnapshot`
`static class` `CoreAdminRequest.ListSnapshots`
`static class` `CoreAdminRequest.MergeIndexes`
`static class` `CoreAdminRequest.OverrideLastPublished`
`static class` `CoreAdminRequest.RequestRecovery`
`static class` `CoreAdminRequest.RequestSyncShard`
`static class` `CoreAdminRequest.Unload`
`static class` `CoreAdminRequest.WaitForState`
`class` `DelegationTokenRequest<Q extends DelegationTokenRequest<Q,​R>,​R extends DelegationTokenResponse>` Class for making Solr delegation token requests.
`static class` `DelegationTokenRequest.Cancel`
`static class` `DelegationTokenRequest.Get`
`static class` `DelegationTokenRequest.Renew`
`class` `DirectXmlRequest` Send arbitrary XML to a request handler
`class` `DocumentAnalysisRequest` A request for the org.apache.solr.handler.DocumentAnalysisRequestHandler.
`class` `FieldAnalysisRequest` A request for the org.apache.solr.handler.FieldAnalysisRequestHandler.
`class` `GenericSolrRequest`
`class` `HealthCheckRequest`
`class` `LukeRequest`
`class` `MultiContentWriterRequest`
`static class` `NodeApi.DeleteNode`
`static class` `NodeApi.GetPublicKey`
`static class` `NodeApi.ReplaceNode`
`class` `QueryRequest`
`static class` `ReplicaPropertiesApi.AddReplicaProperty`
`static class` `ReplicaPropertiesApi.DeleteReplicaProperty`
`static class` `ReplicasApi.DeleteReplicaByName`
`static class` `ReplicasApi.DeleteReplicasByCount`
`static class` `ReplicasApi.DeleteReplicasByCountAllShards`
`static class` `ShardsApi.ForceShardLeader`
`static class` `ShardsApi.SyncShard`
`class` `SolrPing` Verify that there is a working Solr core at the URL of a `SolrClient`.
`class` `StreamingUpdateRequest` A simple update request which streams content to the server
`class` `UpdateRequest`
`class` `V2Request`

Methods in org.apache.solr.client.solrj.request with parameters of type SolrRequest
`Collection<ContentStream>` RequestWriter.`getContentStreams​(SolrRequest<?> req)` Deprecated. Use `RequestWriter.getContentWriter(SolrRequest)`.
`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
`class` `DirectJsonQueryRequest` Represents a query using the JSON Query DSL
`class` `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
`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
`static ContentStream` ContentStreamBase.`create​(RequestWriter requestWriter, SolrRequest req)`