Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-14865: 'Index Merge Metrics' documentation correction (#1870)

Christine Poerschkeda0004875b5d
diff --git a/solr/solr-ref-guide/src/metrics-reporting.adoc b/solr/solr-ref-guide/src/metrics-reporting.adoc
index 0688255de6a..35164754b29 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>
...