cancel
Showing results for 
Search instead for 
Did you mean: 

How to search in one specific core/replica - Solr in SAP Commerce

nickito
Associate
Associate
0 Kudos
151

Sometimes when working with Solr the standard query function to search in collections not fulfill all the needs, specially when troubleshooting sync issues between replicas of the same collection. So here is a trick for you:

  1. The Solr url for overview collections in Solr dashboard will be similar to https://myCoolEndpoint/#/master_myCollection_Product_default/collection-overview
  2. The Solr url for query collections in Solr dashboard will be similar to https://myCoolEndpoint/#/master_myCollection_Product_default/query

And the replica overview url is:

It is pretty similar to the collection overview url right? So what happens if we change the /core-overview to /query 

Exactly if we access https://myCoolEndpoint/#/master_myCollection_Product_default_shard1_replica_n1/query, We will be able to run queries in that replica, shard1_replica_n1, of the master_myCollection_Product_default and verify if all replicas have the same result.

I Hope this trick help anyone looking for  how to search in one specific core/replica!

   

View Entire Topic
Pradeeppai
Associate
Associate
0 Kudos

Hi Nickito, 

Please review the KBA on Collection/Core/Shard/replica in SOLR cloud which gives provides information on best practices and also KBA on The search result is inconsistent in multiple shard environment .