FileResourcePrivate Preview
Methods related to external file resources management.
add_file_resource() [READ MORE]
Registers a file that has already been uploaded to the object store configured for the Milvus cluster as a named file resource. Once registered, the resource can be referenced from analyzer parameters that accept an external dictionary — such as `extradictfile` on the `jieba` tokenizer, `stopwordsfile` on the `stop` filter, `wordlistfile` on the `decompounder` filter, and `synonymsfile` on the `synonym` filter — using `{"type" "remote", "resourcename": "", "filename": ""}`. The target file must exist in the object store at the time of this call; the server validates `path` synchronously and fails the request if it does not resolve.
list_file_resources() [READ MORE]
Returns all file resources currently registered on the Milvus cluster. Each entry is a `FileResourceInfo` object exposing the `name` under which the resource was registered via `addfileresource()` and the `path` (object key in the configured object store) that it points to. There is no dedicated "get" API for a single resource — `listfileresources()` is the canonical way to inspect registered resources.
remove_file_resource() [READ MORE]
Removes a file resource previously registered via `addfileresource()` from the Milvus cluster. The call is idempotent removing a name that is not currently registered completes successfully without raising an exception.