adityamparikh opened a new pull request, #239:
URL: https://github.com/apache/solr-mcp/pull/239

   ## What
   
   The server supports SolrCloud only: `list-collections` and 
`create-collection` call the Collections API, and nothing uses the CoreAdmin 
API or detects the deployment mode. A few comments and docs said otherwise. 
This PR corrects them:
   
   - **`CollectionService#createCollection` Javadoc**: it said the method 
creates "a collection (SolrCloud) or core (standalone Solr)" and "automatically 
detects the deployment type". It now says the method uses the Collections API 
and that standalone Solr is not supported, which matches `listCollections`.
   - **`create-collection` tool parameters**: removed "(SolrCloud only)" from 
the `numShards` and `replicationFactor` descriptions. The qualifier implied the 
LLM could target another mode.
   - **`dev-docs/SMOKE_TEST.md`**: states that SolrCloud is required. Solr 10 
starts in cloud mode by default, and earlier versions need `-c`.
   - **`JsonResponseParser` and its test**: the `text/plain` comment no longer 
cites "standalone-mode handlers". `/admin/ping` is the actual reason, and it 
applies in SolrCloud too. No behaviour change.
   
   No functional changes. `./gradlew build` passes: 421 tests, 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]

Reply via email to