PATCH never touches them. Settings are accessed at /v2/ai/collections/{uuid}/settings. top_k can be overridden per request at search time; retrieval_type cannot — a per-request value is accepted but ignored, and meta.retrieval_type echoes the mode that actually ran.
retrieval_type selects how a query is matched against the collection’s indexed content — see Search Modes for how the modes differ and when to use each.
Get Settings
Replace Settings
PUT replaces the entire settings object. Omitted keys reset to their defaults.
Merge Settings
PATCH does a partial merge at the retrieval key. Unnamed fields are preserved.
retrieval_type is unchanged.
Validation Errors
Unsupportedretrieval_type values return 422:
top_k outside 1—50 returns 422 with code invalid_top_k. Unrecognized fields in the retrieval object are rejected with 400.
Related
- Search Modes — vector, keyword, and hybrid compared
- Collections — create, list, retrieve, update, and delete collections
- Sources — add, replace, and remove data sources