ShardRouter MBean

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

The ShardRouter MBean, not present in open source Solr, provides information about how DSE Search routes queries. JMX MBeans can be accessed by connecting to the (default) JMX port 7199 on any DataStax Enterprise node using a JMX application like JConsole. The following attributes and operations are available in this MBean:

  • getShardSelectionStrategy(String core) retrieves the name of the shard selection strategy used for the given search core.

  • getEndpoints(String core) retrieves the list of endpoints that can be queried for the given search core.

  • getEndpointLoad(String core) retrieves the list of endpoints with related query load for the given search 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.

The DataStax Support Knowledge Base provides information to help resolve issues. Search for product-specific troubleshooting, how to articles, FAQs, and more.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com