solarium icon indicating copy to clipboard operation
solarium copied to clipboard

Metrics API

Open bmeynell opened this issue 6 years ago • 3 comments

There does not appear to be direct support for Solr's Metrics API.

  • Any past or present interest in this?
  • URI/handler is admin/metrics: Would the recommended implementation be that the relevant code exist in the Solarium\QueryType\Metrics namespace, and related constant be Client::QUERY_METRICS?

Thoughts? TY!

bmeynell avatar Apr 18 '19 23:04 bmeynell

For sure this could be integrated.

If you want to work on this, I'll be happy to review a PR.

mkalkbrenner avatar Apr 19 '19 09:04 mkalkbrenner

We already added a generic implementation of the V2 API.

See https://github.com/solariumphp/solarium/blob/bdb78b9260df9922161cfe8b4cf7df9243b50ccb/tests/Integration/AbstractTechproductsTest.php#L509 for an example

mkalkbrenner avatar Apr 30 '19 15:04 mkalkbrenner

What would these metrics be able to return? I'm interested as it would be a great addition to our CMS-based control that already is used to built elevation and custom search-fields :)

Firesphere avatar May 26 '19 04:05 Firesphere