メインコンテンツまでスキップ

FileResource
Private Preview

Addedv3.0.x

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.