Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-17458: Fix ref guide (#3772)

David Smileyd26b5ef09237
diff --git a/solr/solr-ref-guide/antora.template.yml b/solr/solr-ref-guide/antora.template.yml
index 84a2112dd96..3f1e8ef816d 100644
--- a/solr/solr-ref-guide/antora.template.yml
+++ b/solr/solr-ref-guide/antora.template.yml
@@ -47,7 +47,6 @@ asciidoc:
solr-full-version: '${solr_version}'
dep-version-commons-codec: '${dep_version_commons_codec}'
- dep-version-dropwizard: '${dep_version_dropwizard}'
dep-version-log4j: '${dep_version_log4j}'
dep-version-opennlp: '${dep_version_opennlp}'
dep-version-tika: '${dep_version_tika}'
diff --git a/solr/solr-ref-guide/build.gradle b/solr/solr-ref-guide/build.gradle
index 1a3ddd71091..d94227812dd 100644
--- a/solr/solr-ref-guide/build.gradle
+++ b/solr/solr-ref-guide/build.gradle
@@ -109,19 +109,18 @@ task buildLocalAntoraYaml {
doLast {
// Set these dependency versions as lazy gstrings so that they're resolved after evaluation.
- // These variable names must use underscores, not dashes or periods
+ // These variable names must use underscores, not dashes or periods.
+ // Modifying this list also requires modifying `antora.template.yml`
props.putAll([
["dep_version_commons_codec", libs.versions.commons.codec],
- ["dep_version_dropwizard", libs.versions.dropwizard.metrics],
["dep_version_log4j", libs.versions.apache.log4j],
["dep_version_opennlp", libs.versions.apache.opennlp],
["dep_version_tika", libs.versions.apache.tika],
["dep_version_zookeeper", libs.versions.apache.zookeeper],
- ["dep_version_lucene", libs.versions.apache.lucene],
- ["dep_version_opentelemetry", libs.versions.opentelemetry],
+ ["dep_version_opentelemetry", libs.versions.opentelemetry.asProvider()],
].collectEntries { propKey, dependencyVersion ->
- [propKey, "${-> dependencyVersion == libs.versions.apache.lucene ? luceneBaseVersionProvider.get() : dependencyVersion.get()}"] })
-
+ [propKey, "${-> dependencyVersion.get()}"] })
+ props["dep_version_lucene"] = "${ -> luceneBaseVersionProvider.get()}"
copy {
from(templateYaml) {
diff --git a/solr/solr-ref-guide/modules/configuration-guide/pages/implicit-requesthandlers.adoc b/solr/solr-ref-guide/modules/configuration-guide/pages/implicit-requesthandlers.adoc
index 45e4468e8f7..85f25610a0a 100644
--- a/solr/solr-ref-guide/modules/configuration-guide/pages/implicit-requesthandlers.adoc
+++ b/solr/solr-ref-guide/modules/configuration-guide/pages/implicit-requesthandlers.adoc
@@ -74,17 +74,6 @@ This handler must have a collection name in the path to the endpoint.
|`solr/<collection>/admin/luke` |{solr-javadocs}/core/org/apache/solr/handler/admin/LukeRequestHandler.html[LukeRequestHandler] |`_ADMIN_LUKE`
|===
-MBeans:: Provide info about all registered {solr-javadocs}/core/org/apache/solr/core/SolrInfoBean.html[SolrInfoMBeans].
-This handler must have a collection name in the path to the endpoint.
-+
-*Documentation*: xref:deployment-guide:mbean-request-handler.adoc[]
-+
-[cols="3*.",frame=none,grid=cols,options="header"]
-|===
-|API Endpoint |Class & Javadocs |Paramset
-|`solr/<collection>/admin/mbeans` |{solr-javadocs}/core/org/apache/solr/handler/admin/SolrInfoMBeanHandler.html[SolrInfoMBeanHandler] |`_ADMIN_MBEANS`
-|===
-
Ping:: Health check.
This handler must have a collection name in the path to the endpoint.
+
@@ -96,15 +85,6 @@ This handler must have a collection name in the path to the endpoint.
|`solr/<collection>/admin/ping` |{solr-javadocs}/core/org/apache/solr/handler/PingRequestHandler.html[PingRequestHandler] |`_ADMIN_PING`
|===
-Plugins:: Return info about all registered plugins.
-This handler must have a collection name in the path to the endpoint.
-+
-[cols="3*.",frame=none,grid=cols,options="header"]
-|===
-|API Endpoint |Class & Javadocs |Paramset
-|`solr/<collection>/admin/plugins` |{solr-javadocs}/core/org/apache/solr/handler/admin/PluginInfoHandler.html[PluginInfoHandler] | None.
-|===
-
System Properties:: Return JRE system properties.
+
[cols="3*.",frame=none,grid=cols,options="header"]
diff --git a/solr/solr-ref-guide/modules/deployment-guide/pages/metrics-reporting.adoc b/solr/solr-ref-guide/modules/deployment-guide/pages/metrics-reporting.adoc
index 457de7dfe74..268ae57f538 100644
--- a/solr/solr-ref-guide/modules/deployment-guide/pages/metrics-reporting.adoc
+++ b/solr/solr-ref-guide/modules/deployment-guide/pages/metrics-reporting.adoc
@@ -201,7 +201,7 @@ This element also supports the `clock` parameter shown above with the `meter` el
|===
+
The fully-qualified class name of the `Reservoir` implementation to use.
-The default is `com.codahale.metrics.ExponentiallyDecayingReservoir` but there are other options available with the http://metrics.dropwizard.io/{dep-version-dropwizard}/manual/core.html#histograms[Codahale Metrics library] that Solr uses.
+The default is `com.codahale.metrics.ExponentiallyDecayingReservoir` but there are other options available with the http://metrics.dropwizard.io/[Codahale Metrics library] that Solr uses.
`<int name="size">`:::
+