adityamparikh opened a new pull request, #161:
URL: https://github.com/apache/solr-mcp/pull/161
## Motivation
The `search` tool intentionally exposes a narrow surface: `q`, `fq`, field
facets, sort, and paging. LLM clients that know Solr look for
`defType`/`qf`/`mm` tool parameters, find none, and typically fall back to
plain single-field term queries — losing multi-field search, minimum-match, and
boosting entirely.
Solr already supports all of that through **local params embedded in `q`**
(e.g. `{!edismax qf='name author' mm=2}george martin`), but nothing on the tool
surface tells the client this. A tool description is the right home for this
fact: it ships to every MCP client and is read exactly at call-construction
time.
## Changes
- `search` tool description: note that there are no separate
`defType`/`qf`/`mm` parameters and show the local-params form for eDisMax
features.
- `query` param description: mention Lucene syntax + local params support.
- `filterQueries` param description: clarify one filter per entry and that
filters belong in `fq` for cacheability.
Description-only change — no behavior change. `./gradlew build` passes (unit
+ Testcontainers integration tests).
🤖 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]