Package org.apache.solr.common.params
Interface ShardParams
public interface ShardParams
Parameters used for distributed search.
When adding a new parameter here, please also add the corresponding one-line test case in the ShardParamsTest class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final StringForce a single-pass distributed query? (true/false)static final StringIDs of the shard documentsstatic final Stringwhether the request goes to a shardstatic final StringUUID of the querystatic final StringValue denoting local replicasstatic final StringValue denoting local replicasstatic final StringValue denoting randomized replica sortstatic final StringValue denoting stable replica sortstatic final StringThrow an error from search requests when the "shards.tolerant" param has this value and ZooKeeper is not connected.static final Stringconfigure dividend param for stable replica sortstatic final Stringconfigure hash param for stable replica sortstatic final StringThe requested shard namestatic final StringDeprecated.This was an internally used param, never meant for clients to specify; it is no longer used by Solr.static final Stringthe shards to use (distributed configuration)static final StringRequest detailed match info for each shard (true/false)static final StringShards sorting rulesstatic final StringNode with same system property sort rulestatic final StringReplica base/fallback sort rulestatic final StringReplica leader status sort rule, value= true/falsestatic final StringReplica location sort rulestatic final StringReplica type sort rulestatic final Stringquery purpose for shard requestsstatic final StringThe Request Handler for shard requestsstatic final Stringper-shard start and rowsstatic final Stringstatic final StringShould things fail if there is an error? (true/false/requireZkConnected)
-
Field Details
-
SHARDS
the shards to use (distributed configuration)- See Also:
-
QUERY_ID
UUID of the query- See Also:
-
SHARDS_ROWS
per-shard start and rows- See Also:
-
SHARDS_START
- See Also:
-
IDS
IDs of the shard documents- See Also:
-
IS_SHARD
whether the request goes to a shard- See Also:
-
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:
-
SHARD_NAME
The requested shard name- See Also:
-
SHARDS_QT
The Request Handler for shard requests- See Also:
-
SHARDS_INFO
Request detailed match info for each shard (true/false)- See Also:
-
SHARDS_TOLERANT
Should things fail if there is an error? (true/false/requireZkConnected)- See Also:
-
SHARDS_PURPOSE
query purpose for shard requests- See Also:
-
SHARDS_PREFERENCE
Shards sorting rules- See Also:
-
SHARDS_PREFERENCE_REPLICA_TYPE
Replica type sort rule- See Also:
-
SHARDS_PREFERENCE_REPLICA_LOCATION
Replica location sort rule- See Also:
-
SHARDS_PREFERENCE_REPLICA_LEADER
Replica leader status sort rule, value= true/false- See Also:
-
SHARDS_PREFERENCE_NODE_WITH_SAME_SYSPROP
Node with same system property sort rule- See Also:
-
SHARDS_PREFERENCE_REPLICA_BASE
Replica base/fallback sort rule- See Also:
-
REPLICA_LOCAL
Value denoting local replicas- See Also:
-
REPLICA_HOST
Value denoting local replicas- See Also:
-
REPLICA_RANDOM
Value denoting randomized replica sort- See Also:
-
REPLICA_STABLE
Value denoting stable replica sort- See Also:
-
ROUTING_DIVIDEND
configure dividend param for stable replica sort- See Also:
-
ROUTING_HASH
configure hash param for stable replica sort- See Also:
-
_ROUTE_
- See Also:
-
DISTRIB_SINGLE_PASS
Force a single-pass distributed query? (true/false)- See Also:
-
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:
-