This is an automated email from the ASF dual-hosted git repository.
epugh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-mcp.git
The following commit(s) were added to refs/heads/main by this push:
new 3dc8a00 docs: correct stale SolrJ 10 dependency note (#167)
3dc8a00 is described below
commit 3dc8a0062d05595e2506fe45c622f78e5e1aa6dd
Author: Aditya Parikh <[email protected]>
AuthorDate: Wed Jul 22 14:50:24 2026 -0400
docs: correct stale SolrJ 10 dependency note (#167)
The docs state that SolrJ 10.x is not on Maven Central (as of 2026-03-06)
and
that tests run a SolrJ 9.x client against a Solr 10 server. Both claims were
made obsolete by #58 on 2026-03-24, which bumped solr-solrj to 10.0.0 —
`gradle/libs.versions.toml` has pinned `solr = "10.0.0"` ever since,
resolved
from the build's only repository, mavenCentral().
The version skew is also the reverse of what was written: `solr.test.image`
defaults to `solr:9.9-slim`, so the standard build exercises a SolrJ 10
client
against a Solr 9.9 server, not the other way round.
The instruction to "update solr-solrj and Jetty BOM when 10.x is released"
is
likewise moot — solr-solrj is already updated, and the Jetty artifacts are
declared versionless and managed by Spring Boot's BOM, so there is no
separate
Jetty pin.
Corrects the claim in both places it appears (AGENTS.md, which CLAUDE.md
symlinks to, and dev-docs/DEVELOPMENT.md).
Signed-off-by: adityamparikh <[email protected]>
Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
---
AGENTS.md | 2 +-
dev-docs/DEVELOPMENT.md | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/AGENTS.md b/AGENTS.md
index 2d08918..2fb0248 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -347,7 +347,7 @@ Remaining known differences from Solr 9:
- **`/admin/mbeans` removed:** Cache and handler stats from
`getCollectionStats()` will always be `null` on Solr 10. A future migration to
`/admin/metrics` will restore these metrics.
- **Metrics migration:** Dropwizard metrics replaced by OpenTelemetry. Metric
names switch to snake_case in Solr 10.
- **SolrJ base URL:** Already uses root URLs — **no change needed**.
-- **SolrJ 10.x dependency:** Not yet on Maven Central (as of 2026-03-06);
tests use SolrJ 9.x against a Solr 10 server. Update `solr-solrj` and Jetty BOM
when 10.x is released.
+- **SolrJ version:** `solr-solrj` is on 10.0.0 (`gradle/libs.versions.toml`),
released to Maven Central and bumped in #58. Jetty artifacts are declared
versionless and managed by Spring Boot's BOM, so there is no separate Jetty pin
to update. Note the client is *newer* than the default test server:
`solr.test.image` defaults to `solr:9.9-slim`, so the standard build exercises
a SolrJ 10 client against Solr 9.9.
## Key Configuration
diff --git a/dev-docs/DEVELOPMENT.md b/dev-docs/DEVELOPMENT.md
index a3909e5..d3c945a 100644
--- a/dev-docs/DEVELOPMENT.md
+++ b/dev-docs/DEVELOPMENT.md
@@ -204,7 +204,8 @@ Tests run against `solr:9.9-slim` by default. Point them at
another Solr version
endpoint was removed in Solr 10, so `getCacheMetrics()`/`getHandlerMetrics()`
catch
`RuntimeException` and return `null` — `cacheStats`/`handlerStats` from
`get-collection-stats`
are therefore always `null` on Solr 10 (a future migration to `/admin/metrics`
will restore
-them). SolrJ 10.x is not yet on Maven Central, so tests run SolrJ 9.x against
a Solr 10 server.
+them). SolrJ is on 10.0.0; since `solr.test.image` defaults to
`solr:9.9-slim`, the standard
+build runs a SolrJ 10 client against a Solr 9.9 server.
### Test with MCP Inspector