mlbiscoc commented on code in PR #3482:
URL: https://github.com/apache/solr/pull/3482#discussion_r2380035955
##########
solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java:
##########
@@ -2655,19 +2656,17 @@ public void initializeMetrics(
"solr_searcher_warmup_time", "Searcher warmup time (ms)",
OtelUnit.MILLISECONDS),
baseAttributes);
- // fullSortCount
+ // Query sorting counts
toClose.add(
solrMetricsContext.observableLongCounter(
- "solr_searcher_full_sort",
- "Number of queries that required building a full DocList with
sorting",
- obs -> obs.record(fullSortCount.sum(), baseAttributes)));
-
- // skipSortCount
- toClose.add(
- solrMetricsContext.observableLongCounter(
- "solr_searcher_skip_sort",
- "Number of queries where Solr skipped building a full sorted
DocList and instead returned results directly from the DocSet",
- obs -> obs.record(skipSortCount.sum(), baseAttributes)));
+ "solr_searcher_queries_sort",
Review Comment:
I don't think I've ever used this metric and maybe we can improve on this
class later with better metric collection. I'm good with removing it.
--
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]