Amrit Sarkar created SOLR-18573:
-----------------------------------

             Summary: Query Insights: merge top queries across nodes with 
nodes=all
                 Key: SOLR-18573
                 URL: https://issues.apache.org/jira/browse/SOLR-18573
             Project: Solr
          Issue Type: Sub-task
          Components: v2 API, metrics
            Reporter: Amrit Sarkar


Adds {{nodes=all}} (or a comma list) to {{GET 
/api/node/query-insights/top-queries}}, using the same proxy as 
{{/api/node/system}}.

*Scope*
* Fan out to each node in parallel, merge into one list sorted by the requested 
metric.
* Nodes that error or time out are listed in {{failedNodes}}, using 
{{RemoteRequestProxy.getFailedNodes()}} and {{NodeProxyingJerseyResponse}} the 
same way {{/api/node/system}} does since SOLR-15823. No core change.

*Tests*: 2-node cloud test with queries on both nodes; stop one node and check 
it shows in {{failedNodes}} while the other's records still return.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to