dsmiley commented on code in PR #5064: URL: https://github.com/apache/solr/pull/5064#discussion_r4230690636
########## solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-10.adoc: ########## @@ -99,6 +99,18 @@ Former users of `solr.api.v2.enabled` looking to upgrade to Solr 10.1 or newer s Users who deploy a proxy in front of Solr should also review this setup to ensure that it allows access to the v2 API root path, `/api`. +=== V2 collections tree + +In Solr 10.2 `GET /api/collections?detailed=true` returns the collections, shards, and replicas tree under `collectionsDetail`. Review Comment: I cared enough to ask Claude for a survey but I'm not opinionated enough to take it further. Go for it if you wish. For some irrational reason, I dislike `detailed`. ## Question Look through the Solr HTTP API, esp. "V2" (open api). I want to look for naming patterns when an API can return more information toggled by param. Please list examples of this (just list; no details) ## Answer Grouped by naming pattern (V2 first, then V1/search). List came from grep over `solr/api` + admin handlers; not exhaustive. **`xxxInfo` suffix** - `coreInfo`, `fieldInfo`, `sizeInfo` — V2 collection status, V2 segments - `indexInfo` — V2 core status - `shards.info` — search, Luke **Bare noun = section name to include** - `segments` — V2 collection status - `children` — V2 ZK read - `prs` — V2 list collections - `liveNodes`, `clusterProperties`, `roles`, `aliases` — V1 CLUSTERSTATUS - `meta` — schema field GET - `stats`, `debug`, `expand` — search components **`detail*` family** - `detailed` — V2 list collections - `detail` — V1 ZK info handler - `rawSizeDetails` — V2 collection status / segments - `command=details` — replication **`include*` prefix** - `includeAll` — V1 CLUSTERSTATUS - `includeIndexFieldFlags` — Luke - `includeDynamic` — schema fields **`show*` prefix** - `showDefaults` — schema - `show` (enum: `all`/`doc`/`index`/`schema`) — Luke **`expand*` prefix** - `expandParams` — V2 config GET **`raw*` prefix** - `rawSize`, `rawSizeSummary`, `rawSizeDetails` — V2 collection status / segments **`*extendedResults` / `explain*`** - `spellcheck.extendedResults`, `spellcheck.collateExtendedResults` - `debugQuery`, `debug.explain.structured`, `explainOther` **Inverse (less info)** - `compact` — metrics - `omitHeader` — search - `fl` — search, V2 schema fields **Other** - `dump` — V1 ZK info handler - `numTerms` — Luke -- 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]
