[ https://issues.apache.org/jira/browse/SOLR-14865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17196285#comment-17196285 ]
Christine Poerschke commented on SOLR-14865: -------------------------------------------- {quote}... the {{indexConfig}} section can be inspected but when doing so the {{metrics}} content does not appear to be correctly reflected ... {quote} I've been looking into this some more today and it appears that the {{<majorMergeDocs>16</majorMergeDocs>}} is actually not being correctly read i.e. the {{// :NOTE: Unexpected Node names are ignored}} scenario at [https://github.com/apache/lucene-solr/blob/releases/lucene-solr/8.6.2/solr/core/src/java/org/apache/solr/util/DOMUtil.java#L179] applies and {{<long name="majorMergeDocs">16</long>}} is the required usage (though {{<int name="majorMergeDocs">16</int>}} would also work). Have added an additional edit to the [https://github.com/apache/lucene-solr/pull/1870] pull request. [~ab], would you have a chance perhaps to double-check my analysis here? Thanks! > 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 > Time Spent: 10m > Remaining Estimate: 0h > > 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