You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2020/11/02 15:35:20 UTC

[lucene-solr] branch branch_8x updated: SOLR-14865: 'Index Merge Metrics' documentation correction (#1870)

This is an automated email from the ASF dual-hosted git repository.

cpoerschke pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new 50e68ee  SOLR-14865: 'Index Merge Metrics' documentation correction (#1870)
50e68ee is described below

commit 50e68ee6cd9a74e4986a303044d0708b3681c9f6
Author: Christine Poerschke <cp...@apache.org>
AuthorDate: Mon Nov 2 15:25:14 2020 +0000

    SOLR-14865: 'Index Merge Metrics' documentation correction (#1870)
---
 solr/solr-ref-guide/src/metrics-reporting.adoc | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)

diff --git a/solr/solr-ref-guide/src/metrics-reporting.adoc b/solr/solr-ref-guide/src/metrics-reporting.adoc
index 7000456..d6c9e8b 100644
--- a/solr/solr-ref-guide/src/metrics-reporting.adoc
+++ b/solr/solr-ref-guide/src/metrics-reporting.adoc
@@ -549,7 +549,26 @@ These metrics are available only on a per-core basis. Metrics can be aggregated
 
 These metrics are collected in respective registries for each core (e.g., `solr.core.collection1....`), under the `INDEX` category.
 
-Basic metrics are always collected - collection of additional metrics can be turned on using boolean parameters in the `/config/indexConfig/metrics` section of `solrconfig.xml`:
+Metrics collection is controlled by boolean parameters in the `<metrics>` section of `solrconfig.xml`:
+
+Basic metrics:
+
+[source,xml]
+----
+<config>
+  ...
+  <indexConfig>
+    <metrics>
+      <long name="majorMergeDocs">524288</long>
+      <bool name="merge">true</bool>
+    </metrics>
+    ...
+  </indexConfig>
+...
+</config>
+----
+
+Detailed metrics:
 
 [source,xml]
 ----
@@ -557,7 +576,7 @@ Basic metrics are always collected - collection of additional metrics can be tur
   ...
   <indexConfig>
     <metrics>
-      <majorMergeDocs>524288</majorMergeDocs>
+      <long name="majorMergeDocs">524288</long>
       <bool name="mergeDetails">true</bool>
     </metrics>
     ...