adityamparikh opened a new pull request, #334: URL: https://github.com/apache/solr-mcp/pull/334
## Summary Bumps `solr-solrj` from 10.0.0 to 10.1.0, the latest release on Maven Central. The main reason is Luke's document counts. Solr 9.11+ and 10.1+ answer Luke on a SolrCloud collection by summing each field's `docs` across shards (SOLR-8127). A sum past 2^31 reaches the client as a `Long`. SolrJ 10.0.0's `LukeResponse.FieldInfo` casts `docs` to `Integer` and throws a `ClassCastException` for the whole response. SolrJ 10.1.0 reads it as a `long`. This lets the schema tools map `list-fields` from SolrJ's `LukeResponse` (#308) without a workaround. ## Changes the bump requires - **`LukeResponse.getNumDocs()` returns `Long`.** `IndexStats.numDocs` becomes a `Long` to match. `get-collection-stats` still reports a JSON number, so its output doesn't change. - **`ResponseParser.getContentTypes()` returns `Set<String>`.** SolrJ also asserts that it returns the same instance on every call, with lowercase types and no parameters. `JsonResponseParser` now returns a constant `Set` of `application/json` and `text/plain`. - **Tests:** two Mockito stubs return `1000L`, and `ConferenceEndToEndIntegrationTest` expects a `Long`. - **Docs:** the SolrJ version notes in `AGENTS.md` and `dev-docs/DEVELOPMENT.md` are updated. `./gradlew build` passes locally: 518 tests, 0 failures, 0 skipped. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
