kotman12 commented on code in PR #4149: URL: https://github.com/apache/solr/pull/4149#discussion_r2968040137
########## solr/solr-ref-guide/modules/indexing-guide/pages/luke-request-handler.adoc: ########## @@ -118,3 +130,43 @@ Alternatively, to work through the Lucene native id: http://localhost:8983/solr/techproducts/admin/luke?fl=manu&docId=0 From SolrJ, you can access /luke using the {solr-javadocs}/solrj/org/apache/solr/client/solrj/request/LukeRequest.html[`LukeRequest`] object. + +== Distributed Mode (SolrCloud) + +When running in SolrCloud, the Luke handler can aggregate results from all shards in a collection by setting `distrib=true`. +By default, `distrib` is `false` and the handler inspects only the local shard's index. + +To get a collection-wide view: + +[source,text] +http://localhost:8983/solr/techproducts/admin/luke?distrib=true + +To get detailed field statistics across all shards for a specific field: + +[source,text] +http://localhost:8983/solr/techproducts/admin/luke?distrib=true&fl=manu Review Comment: Ok I do see there is a `prefix` in `V2HttpSolrCall` that could be used for this. But I am not sure I see the v1 equivalent. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
