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

This commit is contained in:
Christine Poerschke 2020-11-02 15:25:14 +00:00 committed by GitHub
parent 0c3f2f4ac8
commit da0004875b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 2 deletions

View File

@ -549,7 +549,9 @@ 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]
----
@ -557,7 +559,24 @@ Basic metrics are always collected - collection of additional metrics can be tur
...
<indexConfig>
<metrics>
<majorMergeDocs>524288</majorMergeDocs>
<long name="majorMergeDocs">524288</long>
<bool name="merge">true</bool>
</metrics>
...
</indexConfig>
...
</config>
----
Detailed metrics:
[source,xml]
----
<config>
...
<indexConfig>
<metrics>
<long name="majorMergeDocs">524288</long>
<bool name="mergeDetails">true</bool>
</metrics>
...