Package org.apache.solr.common.params
Interface ShardParams
- 
 public interface ShardParamsParameters used for distributed search.When adding a new parameter here, please also add the corresponding one-line test case in the ShardParamsTest class. 
- 
- 
Field SummaryFields Modifier and Type Field Description static String_ROUTE_static StringDISTRIB_SINGLE_PASSForce a single-pass distributed query? (true/false)static StringIDSIDs of the shard documentsstatic StringIS_SHARDwhether the request goes to a shardstatic StringQUERY_IDUUID of the querystatic StringREPLICA_LOCALValue denoting local replicasstatic StringREPLICA_RANDOMValue denoting randomized replica sortstatic StringREPLICA_STABLEValue denoting stable replica sortstatic StringREQUIRE_ZK_CONNECTEDThrow an error from search requests when the "shards.tolerant" param has this value and ZooKeeper is not connected.static StringROUTING_DIVIDENDconfigure dividend param for stable replica sortstatic StringROUTING_HASHconfigure hash param for stable replica sortstatic StringSHARD_NAMEThe requested shard namestatic StringSHARD_URLDeprecated.This was an internally used param, never meant for clients to specify; it is no longer used by Solr.static StringSHARDSthe shards to use (distributed configuration)static StringSHARDS_INFORequest detailed match info for each shard (true/false)static StringSHARDS_PREFERENCEShards sorting rulesstatic StringSHARDS_PREFERENCE_NODE_WITH_SAME_SYSPROPNode with same system property sort rulestatic StringSHARDS_PREFERENCE_REPLICA_BASEReplica base/fallback sort rulestatic StringSHARDS_PREFERENCE_REPLICA_LEADERReplica leader status sort rule, value= true/falsestatic StringSHARDS_PREFERENCE_REPLICA_LOCATIONReplica location sort rulestatic StringSHARDS_PREFERENCE_REPLICA_TYPEReplica type sort rulestatic StringSHARDS_PURPOSEquery purpose for shard requestsstatic StringSHARDS_QTThe Request Handler for shard requestsstatic StringSHARDS_ROWSper-shard start and rowsstatic StringSHARDS_STARTstatic StringSHARDS_TOLERANTShould things fail if there is an error? (true/false/requireZkConnected)
 
- 
- 
- 
Field Detail- 
SHARDSstatic final String SHARDS the shards to use (distributed configuration)- See Also:
- Constant Field Values
 
 - 
QUERY_IDstatic final String QUERY_ID UUID of the query- See Also:
- Constant Field Values
 
 - 
SHARDS_ROWSstatic final String SHARDS_ROWS per-shard start and rows- See Also:
- Constant Field Values
 
 - 
SHARDS_STARTstatic final String SHARDS_START - See Also:
- Constant Field Values
 
 - 
IDSstatic final String IDS IDs of the shard documents- See Also:
- Constant Field Values
 
 - 
IS_SHARDstatic final String IS_SHARD whether the request goes to a shard- See Also:
- Constant Field Values
 
 - 
SHARD_URL@Deprecated static final String SHARD_URL Deprecated.This was an internally used param, never meant for clients to specify; it is no longer used by Solr.The requested URL for this shard- See Also:
- Constant Field Values
 
 - 
SHARD_NAMEstatic final String SHARD_NAME The requested shard name- See Also:
- Constant Field Values
 
 - 
SHARDS_QTstatic final String SHARDS_QT The Request Handler for shard requests- See Also:
- Constant Field Values
 
 - 
SHARDS_INFOstatic final String SHARDS_INFO Request detailed match info for each shard (true/false)- See Also:
- Constant Field Values
 
 - 
SHARDS_TOLERANTstatic final String SHARDS_TOLERANT Should things fail if there is an error? (true/false/requireZkConnected)- See Also:
- Constant Field Values
 
 - 
SHARDS_PURPOSEstatic final String SHARDS_PURPOSE query purpose for shard requests- See Also:
- Constant Field Values
 
 - 
SHARDS_PREFERENCEstatic final String SHARDS_PREFERENCE Shards sorting rules- See Also:
- Constant Field Values
 
 - 
SHARDS_PREFERENCE_REPLICA_TYPEstatic final String SHARDS_PREFERENCE_REPLICA_TYPE Replica type sort rule- See Also:
- Constant Field Values
 
 - 
SHARDS_PREFERENCE_REPLICA_LOCATIONstatic final String SHARDS_PREFERENCE_REPLICA_LOCATION Replica location sort rule- See Also:
- Constant Field Values
 
 - 
SHARDS_PREFERENCE_REPLICA_LEADERstatic final String SHARDS_PREFERENCE_REPLICA_LEADER Replica leader status sort rule, value= true/false- See Also:
- Constant Field Values
 
 - 
SHARDS_PREFERENCE_NODE_WITH_SAME_SYSPROPstatic final String SHARDS_PREFERENCE_NODE_WITH_SAME_SYSPROP Node with same system property sort rule- See Also:
- Constant Field Values
 
 - 
SHARDS_PREFERENCE_REPLICA_BASEstatic final String SHARDS_PREFERENCE_REPLICA_BASE Replica base/fallback sort rule- See Also:
- Constant Field Values
 
 - 
REPLICA_LOCALstatic final String REPLICA_LOCAL Value denoting local replicas- See Also:
- Constant Field Values
 
 - 
REPLICA_RANDOMstatic final String REPLICA_RANDOM Value denoting randomized replica sort- See Also:
- Constant Field Values
 
 - 
REPLICA_STABLEstatic final String REPLICA_STABLE Value denoting stable replica sort- See Also:
- Constant Field Values
 
 - 
ROUTING_DIVIDENDstatic final String ROUTING_DIVIDEND configure dividend param for stable replica sort- See Also:
- Constant Field Values
 
 - 
ROUTING_HASHstatic final String ROUTING_HASH configure hash param for stable replica sort- See Also:
- Constant Field Values
 
 - 
_ROUTE_static final String _ROUTE_ - See Also:
- Constant Field Values
 
 - 
DISTRIB_SINGLE_PASSstatic final String DISTRIB_SINGLE_PASS Force a single-pass distributed query? (true/false)- See Also:
- Constant Field Values
 
 - 
REQUIRE_ZK_CONNECTEDstatic final String REQUIRE_ZK_CONNECTED Throw an error from search requests when the "shards.tolerant" param has this value and ZooKeeper is not connected.See also HttpShardHandler's getShardsTolerantAsBool(SolrQueryRequest) - See Also:
- Constant Field Values
 
 
- 
 
-