[ https://issues.apache.org/jira/browse/SOLR-14865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17195386#comment-17195386 ]
Christine Poerschke commented on SOLR-14865: -------------------------------------------- Semi-related but not quite, as per [https://lucene.apache.org/solr/guide/8_6/config-api.html#retrieving-the-config] the {{indexConfig}} section can be inspected but when doing so the {{metrics}} content does not appear to be correctly reflected e.g. {code} <metrics> <majorMergeDocs>16</majorMergeDocs> <int name="majorMergeDocs">8</int> <bool name="merge">true</bool> <bool name="mergeDetails">false</bool> </metrics> {code} solrconfig.xml content is returned as {code} "metrics":{ "":{}, "majorMergeDocs":8, "merge":true, "mergeDetails":false} {code} during inspection. > clarify index merge metrics configuration documentation > ------------------------------------------------------- > > Key: SOLR-14865 > URL: https://issues.apache.org/jira/browse/SOLR-14865 > Project: Solr > Issue Type: Task > Components: metrics > Reporter: Christine Poerschke > Priority: Minor > > The documentation – e.g. > [https://lucene.apache.org/solr/guide/8_6/metrics-reporting.html#index-merge-metrics] > – currently mentions that _"Basic metrics are always collected"_ but > experimentally and from a quick look at the code – e.g. > [https://github.com/apache/lucene-solr/blob/releases/lucene-solr/8.6.2/solr/core/src/java/org/apache/solr/update/SolrIndexWriter.java#L146] > – it appears that a {{metrics}} element needs to be configured and that it > needs to have either a {{merge}} or a {{mergeDetails}} element configured as > true. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org