ServerResolvesSearchCollection reports whether GET /search resolves its `collection` filter server-side (BUG-2659), so the CLI can send the collection exactly as typed and let an exact match beat the alias. An indeterminate probe answers false: the fallback is today's client-side normalisation, whic
()
| 593 | // normalisation, which on a read-only filter can only misscope a search, |
| 594 | // never write anywhere. |
| 595 | func (c *Client) ServerResolvesSearchCollection() bool { |
| 596 | caps, definitive := c.serverCapabilities() |
| 597 | return definitive && caps.SearchCollectionResolution |
| 598 | } |
| 599 | |
| 600 | // serverCapabilities returns the cached definitive capability answer, probing |
| 601 | // once if there is none. definitive is false when the probe was |
no test coverage detected