# Uses of Class
org.apache.solr.common.params.SolrParams

Packages that use SolrParams
Package
Description
org.apache.solr.client.solrj
Primary APIs for communicating with a Solr Server from a Java client.
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.client.solrj.routing
Classes to handle query routing preferences
org.apache.solr.common.cloud
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
org.apache.solr.common.params
Parameter constants and enumerations.
org.apache.solr.common.util
Common utility classes reused on both clients & server.

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

Methods in org.apache.solr.client.solrj that return SolrParams
Modifier and Type
Method
Description
`abstract SolrParams`
SolrRequest.`getParams()`
The parameters for this request; never null.
Methods in org.apache.solr.client.solrj with parameters of type SolrParams
Modifier and Type
Method
Description
`SolrDocument`
SolrClient.`getById(String collection, String id, SolrParams params)`
Retrieves the SolrDocument associated with the given identifier and uses the SolrParams to execute the request.
`SolrDocumentList`
SolrClient.`getById(String collection, Collection<String> ids, SolrParams params)`
Retrieves the SolrDocuments associated with the given identifiers and uses the SolrParams to execute the request.
`SolrDocument`
SolrClient.`getById(String id, SolrParams params)`
Retrieves the SolrDocument associated with the given identifier and uses the SolrParams to execute the request.
`SolrDocumentList`
SolrClient.`getById(Collection<String> ids, SolrParams params)`
Retrieves the SolrDocuments associated with the given identifiers and uses the SolrParams to execute the request.
`QueryResponse`
SolrClient.`query(String collection, SolrParams params)`
Performs a query to the Solr server
`QueryResponse`
SolrClient.`query(String collection, SolrParams params, SolrRequest.METHOD method)`
Performs a query to the Solr server
`QueryResponse`
SolrClient.`query(SolrParams params)`
Performs a query to the Solr server
`QueryResponse`
SolrClient.`query(SolrParams params, SolrRequest.METHOD method)`
Performs a query to the Solr server
`QueryResponse`
SolrClient.`queryAndStreamResponse(String collection, SolrParams params, FastStreamingDocsCallback callback)`
`QueryResponse`
SolrClient.`queryAndStreamResponse(String collection, SolrParams params, StreamingResponseCallback callback)`
Query solr, and stream the results.
`QueryResponse`
SolrClient.`queryAndStreamResponse(SolrParams params, StreamingResponseCallback callback)`
Query solr, and stream the results.

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

Subclasses of SolrParams in org.apache.solr.client.solrj.request
Modifier and Type
Class
Description
`class`
`SolrQuery`
This is an augmented SolrParams with get/set/add fields for common fields used in the Standard and Dismax request handlers
Methods in org.apache.solr.client.solrj.request that return SolrParams
Modifier and Type
Method
Description
`SolrParams`
AliasesApi.CreateAlias.`getParams()`
`SolrParams`
AliasesApi.DeleteAlias.`getParams()`
`SolrParams`
AliasesApi.GetAliasByName.`getParams()`
`SolrParams`
AliasesApi.GetAliases.`getParams()`
`SolrParams`
AliasPropertiesApi.CreateOrUpdateAliasProperty.`getParams()`
`SolrParams`
AliasPropertiesApi.DeleteAliasProperty.`getParams()`
`SolrParams`
AliasPropertiesApi.GetAliasProperty.`getParams()`
`SolrParams`
AliasPropertiesApi.GetAllAliasProperties.`getParams()`
`SolrParams`
AliasPropertiesApi.UpdateAliasProperties.`getParams()`
`SolrParams`
ClusterApi.BalanceReplicas.`getParams()`
`SolrParams`
ClusterApi.MigrateReplicas.`getParams()`
`SolrParams`
ClusterPropertiesApi.CreateOrUpdateClusterProperty.`getParams()`
`SolrParams`
ClusterPropertiesApi.CreateOrUpdateNestedClusterProperty.`getParams()`
`SolrParams`
ClusterPropertiesApi.DeleteClusterProperty.`getParams()`
`SolrParams`
ClusterPropertiesApi.GetClusterProperty.`getParams()`
`SolrParams`
ClusterPropertiesApi.ListClusterProperties.`getParams()`
`SolrParams`
CollectionAdminRequest.AddReplica.`getParams()`
`SolrParams`
CollectionAdminRequest.AddReplicaProp.`getParams()`
`SolrParams`
CollectionAdminRequest.AsyncCollectionAdminRequest.`getParams()`
`SolrParams`
CollectionAdminRequest.AsyncCollectionSpecificAdminRequest.`getParams()`
`SolrParams`
CollectionAdminRequest.AsyncShardSpecificAdminRequest.`getParams()`
`SolrParams`
CollectionAdminRequest.Backup.`getParams()`
`SolrParams`
CollectionAdminRequest.BalanceShardUnique.`getParams()`
`SolrParams`
CollectionAdminRequest.ClusterProp.`getParams()`
`SolrParams`
CollectionAdminRequest.ClusterStatus.`getParams()`
`SolrParams`
CollectionAdminRequest.CollectionAdminRoleRequest.`getParams()`
`SolrParams`
CollectionAdminRequest.CollectionProp.`getParams()`
`SolrParams`
CollectionAdminRequest.ColStatus.`getParams()`
`SolrParams`
CollectionAdminRequest.Create.`getParams()`
`SolrParams`
CollectionAdminRequest.CreateAlias.`getParams()`
`SolrParams`
CollectionAdminRequest.CreateCategoryRoutedAlias.`getParams()`
`SolrParams`
CollectionAdminRequest.CreateShard.`getParams()`
`SolrParams`
CollectionAdminRequest.CreateSnapshot.`getParams()`
`SolrParams`
CollectionAdminRequest.CreateTimeRoutedAlias.`getParams()`
`SolrParams`
CollectionAdminRequest.DeleteAlias.`getParams()`
`SolrParams`
CollectionAdminRequest.DeleteBackup.`getParams()`
`SolrParams`
CollectionAdminRequest.DeleteNode.`getParams()`
`SolrParams`
CollectionAdminRequest.DeleteReplica.`getParams()`
`SolrParams`
CollectionAdminRequest.DeleteReplicaProp.`getParams()`
`SolrParams`
CollectionAdminRequest.DeleteShard.`getParams()`
`SolrParams`
CollectionAdminRequest.DeleteSnapshot.`getParams()`
`SolrParams`
CollectionAdminRequest.DeleteStatus.`getParams()`
`SolrParams`
CollectionAdminRequest.DimensionalRoutedAlias.`getParams()`
`SolrParams`
CollectionAdminRequest.`getParams()`
`SolrParams`
CollectionAdminRequest.InstallShard.`getParams()`
`SolrParams`
CollectionAdminRequest.ListBackup.`getParams()`
`SolrParams`
CollectionAdminRequest.ListSnapshots.`getParams()`
`SolrParams`
CollectionAdminRequest.Migrate.`getParams()`
`SolrParams`
CollectionAdminRequest.MockCollTask.`getParams()`
`SolrParams`
CollectionAdminRequest.Modify.`getParams()`
`SolrParams`
CollectionAdminRequest.MoveReplica.`getParams()`
`SolrParams`
CollectionAdminRequest.RebalanceLeaders.`getParams()`
`SolrParams`
CollectionAdminRequest.ReindexCollection.`getParams()`
`SolrParams`
CollectionAdminRequest.Rename.`getParams()`
`SolrParams`
CollectionAdminRequest.ReplaceNode.`getParams()`
`SolrParams`
CollectionAdminRequest.RequestStatus.`getParams()`
`SolrParams`
CollectionAdminRequest.Restore.`getParams()`
`SolrParams`
CollectionAdminRequest.RoutedAliasAdminRequest.`getParams()`
`SolrParams`
CollectionAdminRequest.SetAliasProperty.`getParams()`
`SolrParams`
CollectionAdminRequest.ShardSpecificAdminRequest.`getParams()`
`SolrParams`
CollectionAdminRequest.SplitShard.`getParams()`
`SolrParams`
CollectionBackupsApi.CreateCollectionBackup.`getParams()`
`SolrParams`
CollectionBackupsApi.DeleteMultipleBackupsByRecency.`getParams()`
`SolrParams`
CollectionBackupsApi.DeleteSingleBackupById.`getParams()`
`SolrParams`
CollectionBackupsApi.GarbageCollectUnusedBackupFiles.`getParams()`
`SolrParams`
CollectionBackupsApi.ListBackupsAtLocation.`getParams()`
`SolrParams`
CollectionBackupsApi.RestoreCollection.`getParams()`
`SolrParams`
CollectionPropertiesApi.CreateOrUpdateCollectionProperty.`getParams()`
`SolrParams`
CollectionPropertiesApi.DeleteCollectionProperty.`getParams()`
`SolrParams`
CollectionsApi.BalanceShardUnique.`getParams()`
`SolrParams`
CollectionsApi.CreateCollection.`getParams()`
`SolrParams`
CollectionsApi.DeleteCollection.`getParams()`
`SolrParams`
CollectionsApi.GetCollectionStatus.`getParams()`
`SolrParams`
CollectionsApi.ListCollections.`getParams()`
`SolrParams`
CollectionsApi.ReloadCollection.`getParams()`
`SolrParams`
CollectionsApi.RenameCollection.`getParams()`
`SolrParams`
CollectionSnapshotsApi.CreateCollectionSnapshot.`getParams()`
`SolrParams`
CollectionSnapshotsApi.DeleteCollectionSnapshot.`getParams()`
`SolrParams`
CollectionSnapshotsApi.ListSnapshots.`getParams()`
`SolrParams`
ConfigSetAdminRequest.ConfigSetSpecificAdminRequest.`getParams()`
`SolrParams`
ConfigSetAdminRequest.Create.`getParams()`
`SolrParams`
ConfigSetAdminRequest.`getParams()`
`SolrParams`
ConfigSetAdminRequest.Upload.`getParams()`
`SolrParams`
ConfigsetsApi.CloneExistingConfigSet.`getParams()`
`SolrParams`
ConfigsetsApi.DeleteConfigSet.`getParams()`
`SolrParams`
ConfigsetsApi.ListConfigSet.`getParams()`
`SolrParams`
ConfigsetsApi.UploadConfigSet.`getParams()`
`SolrParams`
ConfigsetsApi.UploadConfigSetFile.`getParams()`
`SolrParams`
CoreAdminRequest.Create.`getParams()`
`SolrParams`
CoreAdminRequest.CreateSnapshot.`getParams()`
`SolrParams`
CoreAdminRequest.DeleteSnapshot.`getParams()`
`SolrParams`
CoreAdminRequest.`getParams()`
`SolrParams`
CoreAdminRequest.MergeIndexes.`getParams()`
`SolrParams`
CoreAdminRequest.RequestRecovery.`getParams()`
`SolrParams`
CoreAdminRequest.RequestSyncShard.`getParams()`
`SolrParams`
CoreAdminRequest.Unload.`getParams()`
`SolrParams`
CoreAdminRequest.WaitForState.`getParams()`
`SolrParams`
CoreBackupsApi.CreateBackup.`getParams()`
`SolrParams`
CoresApi.CreateCore.`getParams()`
`SolrParams`
CoresApi.GetAllCoreStatus.`getParams()`
`SolrParams`
CoresApi.GetCoreStatus.`getParams()`
`SolrParams`
CoresApi.InstallCoreData.`getParams()`
`SolrParams`
CoresApi.MergeIndexes.`getParams()`
`SolrParams`
CoresApi.ReloadCore.`getParams()`
`SolrParams`
CoresApi.RenameCore.`getParams()`
`SolrParams`
CoresApi.RestoreCore.`getParams()`
`SolrParams`
CoresApi.SwapCores.`getParams()`
`SolrParams`
CoresApi.UnloadCore.`getParams()`
`SolrParams`
CoreSnapshotsApi.CreateSnapshot.`getParams()`
`SolrParams`
CoreSnapshotsApi.DeleteSnapshot.`getParams()`
`SolrParams`
CoreSnapshotsApi.ListSnapshots1.`getParams()`
`SolrParams`
DelegationTokenRequest.Cancel.`getParams()`
`SolrParams`
DelegationTokenRequest.Get.`getParams()`
`SolrParams`
DelegationTokenRequest.Renew.`getParams()`
`SolrParams`
DocumentAnalysisRequest.`getParams()`
`SolrParams`
FieldAnalysisRequest.`getParams()`
`SolrParams`
FileStoreApi.DeleteFile.`getParams()`
`SolrParams`
FileStoreApi.FetchFile.`getParams()`
`SolrParams`
FileStoreApi.GetFile.`getParams()`
`SolrParams`
FileStoreApi.GetMetadata.`getParams()`
`SolrParams`
FileStoreApi.SyncFile.`getParams()`
`SolrParams`
FileStoreApi.UploadFile.`getParams()`
`SolrParams`
GenericSolrRequest.`getParams()`
`SolrParams`
HealthCheckRequest.`getParams()`
`SolrParams`
LoggingApi.FetchLocalLogMessages.`getParams()`
`SolrParams`
LoggingApi.ListAllLoggersAndLevels.`getParams()`
`SolrParams`
LoggingApi.ModifyLocalLogLevel.`getParams()`
`SolrParams`
LoggingApi.SetMessageThreshold.`getParams()`
`SolrParams`
LukeRequest.`getParams()`
`SolrParams`
NodeApi.DeleteNode.`getParams()`
`SolrParams`
NodeApi.GetCommandStatus.`getParams()`
`SolrParams`
NodeApi.GetPublicKey.`getParams()`
`SolrParams`
NodeApi.ReplaceNode.`getParams()`
`SolrParams`
QueryingApi.JsonQuery.`getParams()`
`SolrParams`
QueryingApi.Query.`getParams()`
`SolrParams`
QueryRequest.`getParams()`
`SolrParams`
ReplicaPropertiesApi.AddReplicaProperty.`getParams()`
`SolrParams`
ReplicaPropertiesApi.DeleteReplicaProperty.`getParams()`
`SolrParams`
ReplicasApi.CreateReplica.`getParams()`
`SolrParams`
ReplicasApi.DeleteReplicaByName.`getParams()`
`SolrParams`
ReplicasApi.DeleteReplicasByCount.`getParams()`
`SolrParams`
ReplicasApi.DeleteReplicasByCountAllShards.`getParams()`
`SolrParams`
ReplicationApi.FetchFile1.`getParams()`
`SolrParams`
ReplicationApi.FetchFileList.`getParams()`
`SolrParams`
ReplicationApi.FetchIndexVersion.`getParams()`
`SolrParams`
ReplicationBackupsApi.CreateBackup1.`getParams()`
`SolrParams`
SchemaApi.AddDynamicField.`getParams()`
`SolrParams`
SchemaApi.AddField.`getParams()`
`SolrParams`
SchemaApi.AddFieldType.`getParams()`
`SolrParams`
SchemaApi.BulkSchemaModification.`getParams()`
`SolrParams`
SchemaApi.DeleteDynamicField.`getParams()`
`SolrParams`
SchemaApi.DeleteField.`getParams()`
`SolrParams`
SchemaApi.DeleteFieldType.`getParams()`
`SolrParams`
SchemaApi.GetDynamicFieldInfo.`getParams()`
`SolrParams`
SchemaApi.GetFieldInfo.`getParams()`
`SolrParams`
SchemaApi.GetFieldTypeInfo.`getParams()`
`SolrParams`
SchemaApi.GetSchemaInfo.`getParams()`
`SolrParams`
SchemaApi.GetSchemaName.`getParams()`
`SolrParams`
SchemaApi.GetSchemaSimilarity.`getParams()`
`SolrParams`
SchemaApi.GetSchemaUniqueKey.`getParams()`
`SolrParams`
SchemaApi.GetSchemaVersion.`getParams()`
`SolrParams`
SchemaApi.GetSchemaZkVersion.`getParams()`
`SolrParams`
SchemaApi.ListCopyFields.`getParams()`
`SolrParams`
SchemaApi.ListDynamicFields.`getParams()`
`SolrParams`
SchemaApi.ListSchemaFields.`getParams()`
`SolrParams`
SchemaApi.ListSchemaFieldTypes.`getParams()`
`SolrParams`
SegmentsApi.GetSegmentData.`getParams()`
`SolrParams`
ShardsApi.CreateShard.`getParams()`
`SolrParams`
ShardsApi.DeleteShard.`getParams()`
`SolrParams`
ShardsApi.ForceShardLeader.`getParams()`
`SolrParams`
ShardsApi.InstallShardData.`getParams()`
`SolrParams`
ShardsApi.SyncShard.`getParams()`
`SolrParams`
V2Request.`getParams()`
`SolrParams`
ZookeeperReadApi.ListNodes.`getParams()`
`SolrParams`
ZookeeperReadApi.ReadNode.`getParams()`
Methods in org.apache.solr.client.solrj.request with parameters of type SolrParams
Modifier and Type
Method
Description
`V2Request.Builder`
V2Request.Builder.`withParams(SolrParams params)`
Constructors in org.apache.solr.client.solrj.request with parameters of type SolrParams
Modifier
Constructor
Description
``
`GenericSolrRequest(SolrRequest.METHOD m, String path, SolrRequest.SolrRequestType requestType, SolrParams params)`
``
`GenericSolrRequest(SolrRequest.METHOD m, String path, SolrParams params)`
``
`GenericV2SolrRequest(SolrRequest.METHOD m, String path, SolrRequest.SolrRequestType requestType, SolrParams params)`
``
`GenericV2SolrRequest(SolrRequest.METHOD m, String path, SolrParams params)`
``
`QueryRequest(SolrParams q)`
``
`QueryRequest(SolrParams q, SolrRequest.METHOD method)`

## Uses of SolrParams in org.apache.solr.client.solrj.request.json

Constructors in org.apache.solr.client.solrj.request.json with parameters of type SolrParams
Modifier
Constructor
Description
``
`DirectJsonQueryRequest(String jsonString, SolrParams params)`
``
`JsonQueryRequest(SolrParams params)`
Creates a `JsonQueryRequest` using the provided `SolrParams`

## Uses of SolrParams in org.apache.solr.client.solrj.request.schema

Methods in org.apache.solr.client.solrj.request.schema that return SolrParams
Modifier and Type
Method
Description
`SolrParams`
AbstractSchemaRequest.`getParams()`
Constructors in org.apache.solr.client.solrj.request.schema with parameters of type SolrParams
Modifier
Constructor
Description
``
`AbstractSchemaRequest(SolrRequest.METHOD m, String path, SolrParams params)`
``
`AddCopyField(String source, List<String> dest, Integer maxChars, SolrParams q)`
``
`AddCopyField(String source, List<String> dest, SolrParams q)`
``
`AddDynamicField(Map<String,Object> fieldAttributes, SolrParams q)`
``
`AddField(Map<String,Object> fieldAttributes, SolrParams q)`
``
`AddFieldType(FieldTypeDefinition fieldTypeDefinition, SolrParams q)`
``
`CopyFields(SolrParams q)`
``
`DeleteCopyField(String source, List<String> dest, SolrParams q)`
``
`DeleteDynamicField(String fieldName, SolrParams q)`
``
`DeleteField(String fieldName, SolrParams q)`
``
`DeleteFieldType(String fieldTypeName, SolrParams q)`
``
`DynamicField(String dynamicFieldName, SolrParams q)`
``
`DynamicFields(SolrParams q)`
``
`Field(String fieldName, SolrParams q)`
``
`Fields(SolrParams q)`
``
`FieldType(String fieldTypeName, SolrParams q)`
``
`FieldTypes(SolrParams q)`
``
`GlobalSimilarity(SolrParams q)`
``
`MultiUpdate(List<SchemaRequest.Update> updateSchemaRequests, SolrParams q)`
``
`ReplaceDynamicField(Map<String,Object> dynamicFieldAttributes, SolrParams q)`
``
`ReplaceField(Map<String,Object> fieldAttributes, SolrParams q)`
``
`ReplaceFieldType(FieldTypeDefinition fieldTypeDefinition, SolrParams q)`
``
`SchemaName(SolrParams q)`
``
`SchemaRequest(SolrParams q)`
``
`SchemaVersion(SolrParams q)`
``
`UniqueKey(SolrParams q)`
``
`Update(SolrParams q)`

## Uses of SolrParams in org.apache.solr.client.solrj.routing

Methods in org.apache.solr.client.solrj.routing with parameters of type SolrParams
Modifier and Type
Method
Description
`static ReplicaListTransformer`
AffinityReplicaListTransformer.`getInstance(String dividendParam, String hashParam, SolrParams requestParams)`
`ReplicaListTransformer`
AffinityReplicaListTransformerFactory.`getInstance(String configSpec, SolrParams requestParams, ReplicaListTransformerFactory fallback)`
`ReplicaListTransformer`
ReplicaListTransformerFactory.`getInstance(String configSpec, SolrParams requestParams, ReplicaListTransformerFactory fallback)`
`ReplicaListTransformer`
RequestReplicaListTransformerGenerator.`getReplicaListTransformer(SolrParams requestParams)`
`ReplicaListTransformer`
RequestReplicaListTransformerGenerator.`getReplicaListTransformer(SolrParams requestParams, String defaultShardPreferences)`
`ReplicaListTransformer`
RequestReplicaListTransformerGenerator.`getReplicaListTransformer(SolrParams requestParams, String defaultShardPreferences, String nodeName, String baseUrl, String hostName, NodesSysProps sysProps)`
Constructors in org.apache.solr.client.solrj.routing with parameters of type SolrParams
Modifier
Constructor
Description
``
`NodePreferenceRulesComparator(List<PreferenceRule> preferenceRules, SolrParams requestParams, String nodeName, String baseUrl, String hostName, NodesSysProps sysProps, ReplicaListTransformerFactory defaultRltFactory, ReplicaListTransformerFactory stableRltFactory)`
``
`NodePreferenceRulesComparator(List<PreferenceRule> preferenceRules, SolrParams requestParams, ReplicaListTransformerFactory defaultRltFactory, ReplicaListTransformerFactory stableRltFactory)`

## Uses of SolrParams in org.apache.solr.common.cloud

Methods in org.apache.solr.common.cloud with parameters of type SolrParams
Modifier and Type
Method
Description
`protected String`
HashBasedRouter.`getId(SolrInputDocument sdoc, SolrParams params)`
`DocRouter.Range`
CompositeIdRouter.`getSearchRangeSingle(String shardKey, SolrParams params, DocCollection collection)`
`DocRouter.Range`
DocRouter.`getSearchRangeSingle(String shardKey, SolrParams params, DocCollection collection)`
This method is consulted to determine what search range (the part of the hash ring) should be queried for a request when an explicit shards' parameter was not used.
`Collection<Slice>`
DocRouter.`getSearchSlices(String shardKeys, SolrParams params, DocCollection collection)`
This method is consulted to determine what slices should be queried for a request when an explicit shards' parameter was not used.
`Collection<Slice>`
CompositeIdRouter.`getSearchSlicesSingle(String shardKey, SolrParams params, DocCollection collection)`
`abstract Collection<Slice>`
DocRouter.`getSearchSlicesSingle(String shardKey, SolrParams params, DocCollection collection)`
This method is consulted to determine what slices should be queried for a request when an explicit shards' parameter was not used.
`Collection<Slice>`
HashBasedRouter.`getSearchSlicesSingle(String shardKey, SolrParams params, DocCollection collection)`
`Collection<Slice>`
ImplicitDocRouter.`getSearchSlicesSingle(String shardKey, SolrParams params, DocCollection collection)`
`Slice`
CompositeIdRouter.`getTargetSlice(String id, SolrInputDocument sdoc, String route, SolrParams params, DocCollection collection)`
`abstract Slice`
DocRouter.`getTargetSlice(String id, SolrInputDocument sdoc, String route, SolrParams params, DocCollection collection)`
Returns the Slice that the document should reside on, or null if there is not enough information
`Slice`
HashBasedRouter.`getTargetSlice(String id, SolrInputDocument sdoc, String route, SolrParams params, DocCollection collection)`
`Slice`
ImplicitDocRouter.`getTargetSlice(String id, SolrInputDocument sdoc, String route, SolrParams params, DocCollection collection)`
`abstract boolean`
DocRouter.`isTargetSlice(String id, SolrInputDocument sdoc, SolrParams params, String shardId, DocCollection collection)`
`boolean`
HashBasedRouter.`isTargetSlice(String id, SolrInputDocument sdoc, SolrParams params, String shardId, DocCollection collection)`
`boolean`
ImplicitDocRouter.`isTargetSlice(String id, SolrInputDocument sdoc, SolrParams params, String shardId, DocCollection collection)`
`int`
CompositeIdRouter.`sliceHash(String id, SolrInputDocument doc, SolrParams params, DocCollection collection)`
`int`
HashBasedRouter.`sliceHash(String id, SolrInputDocument sdoc, SolrParams params, DocCollection collection)`

## Uses of SolrParams in org.apache.solr.common.params

Subclasses of SolrParams in org.apache.solr.common.params
Modifier and Type
Class
Description
`class`
`AppendedSolrParams`
SolrParams wrapper which acts similar to DefaultSolrParams except that it "appends" the values of multi-value params from both sub instances, so that all the values are returned.
`class`
`DefaultSolrParams`
`class`
`MapSolrParams`
`SolrParams` implementation that can be built from and is backed by a `Map`.
`class`
`ModifiableSolrParams`
This class is similar to `MultiMapSolrParams` except you can edit the parameters after it is initialized.
`class`
`MultiMapSolrParams`
`class`
`RequiredSolrParams`
This is a simple wrapper to SolrParams that will throw a 400 exception if you ask for a parameter that does not exist.
Fields in org.apache.solr.common.params declared as SolrParams
Modifier and Type
Field
Description
`protected final SolrParams`
DefaultSolrParams.`defaults`
`protected final SolrParams`
DefaultSolrParams.`params`
`protected final SolrParams`
RequiredSolrParams.`params`
Methods in org.apache.solr.common.params that return SolrParams
Modifier and Type
Method
Description
`static SolrParams`
SolrParams.`of()`
An empty, immutable SolrParams.
`static SolrParams`
SolrParams.`of(String k, String v)`
An immutable SolrParams holding one pair (not null).
`static SolrParams`
SolrParams.`wrapAppended(SolrParams params, SolrParams defaults)`
`static SolrParams`
SolrParams.`wrapDefaults(SolrParams params, SolrParams defaults)`
Methods in org.apache.solr.common.params with parameters of type SolrParams
Modifier and Type
Method
Description
`void`
ModifiableSolrParams.`add(SolrParams params)`
Add all the params provided in the parameter to this params.
`static Map<String,String[]>`
MultiMapSolrParams.`asMultiMap(SolrParams params)`
Returns a MultiMap view of the SolrParams as efficiently as possible.
`static Map<String,String[]>`
MultiMapSolrParams.`asMultiMap(SolrParams params, boolean newCopy)`
Returns a MultiMap view of the SolrParams.
`static ModifiableSolrParams`
ModifiableSolrParams.`of(SolrParams params)`
If the input params are of type ModifiableSolrParams, returns the input, otherwise, constructs a new ModifiableSolrParams, copying values from the given params.
`static AppendedSolrParams`
AppendedSolrParams.`wrapAppended(SolrParams params, SolrParams extra)`
`static SolrParams`
SolrParams.`wrapAppended(SolrParams params, SolrParams defaults)`
`static SolrParams`
SolrParams.`wrapDefaults(SolrParams params, SolrParams defaults)`
Constructors in org.apache.solr.common.params with parameters of type SolrParams
Modifier
Constructor
Description
``
`DefaultSolrParams(SolrParams params, SolrParams defaults)`
``
`ModifiableSolrParams(SolrParams params)`
Constructs a new ModifiableSolrParams, copying values from an existing SolrParams
``
`RequiredSolrParams(SolrParams params)`

## Uses of SolrParams in org.apache.solr.common.util

Methods in org.apache.solr.common.util that return SolrParams
Modifier and Type
Method
Description
`SolrParams`
NamedList.`toSolrParams()`
Create SolrParams from NamedList.