Package | Description |
---|---|
org.apache.solr.common.cloud |
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
|
Modifier and Type | Method and Description |
---|---|
DocRouter.Range |
DocRouter.fromString(String range) |
DocRouter.Range |
DocRouter.fullRange() |
DocRouter.Range |
Slice.getRange() |
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.
|
DocRouter.Range |
CompositeIdRouter.keyHashRange(String routeKey)
Get Range for a given CompositeId based route key
|
Modifier and Type | Method and Description |
---|---|
List<DocRouter.Range> |
RoutingRule.getRouteRanges() |
List<DocRouter.Range> |
CompositeIdRouter.partitionRange(int partitions,
DocRouter.Range range) |
List<DocRouter.Range> |
DocRouter.partitionRange(int partitions,
DocRouter.Range range)
Split the range into partitions.
|
List<DocRouter.Range> |
ImplicitDocRouter.partitionRange(int partitions,
DocRouter.Range range) |
List<DocRouter.Range> |
DocRouter.partitionRange(int partitions,
DocRouter.Range range,
float fuzz)
Split the range into partitions with inexact sizes.
|
List<DocRouter.Range> |
CompositeIdRouter.partitionRangeByKey(String key,
DocRouter.Range range) |
Modifier and Type | Method and Description |
---|---|
int |
DocRouter.Range.compareTo(DocRouter.Range that) |
boolean |
DocRouter.Range.isSubsetOf(DocRouter.Range superset) |
boolean |
DocRouter.Range.overlaps(DocRouter.Range other) |
List<DocRouter.Range> |
CompositeIdRouter.partitionRange(int partitions,
DocRouter.Range range) |
List<DocRouter.Range> |
DocRouter.partitionRange(int partitions,
DocRouter.Range range)
Split the range into partitions.
|
List<DocRouter.Range> |
ImplicitDocRouter.partitionRange(int partitions,
DocRouter.Range range) |
List<DocRouter.Range> |
DocRouter.partitionRange(int partitions,
DocRouter.Range range,
float fuzz)
Split the range into partitions with inexact sizes.
|
List<DocRouter.Range> |
CompositeIdRouter.partitionRangeByKey(String key,
DocRouter.Range range) |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.