Using the ShardRouter Mbean

Use the com.datastax.bdp:type=ShardRouter Mbean to retrieve information and update the list of endpoints.

DataStax Enterprise exposes the com.datastax.bdp:type=ShardRouter Mbean, providing the following operations:
  • getShardSelectionStrategy(String core) retrieves the name of the shard selection strategy used for the given Solr core.
  • getEndpoints(String core) retrieves the list of endpoints that can be queried for the given Solr core.
  • getEndpointLoad(String core) retrieves the list of endpoints with related query load for the given Solr core; the load is computed as a 1-minute, 5-minutes and 15-minutes exponentially weighted moving average, based on the number of queries received by the given node.
  • refreshEndpoints() manually refreshes the list of endpoints to be used for querying Solr cores.