提交 18539c50 编写于 作者: W Wang XiangYu 提交者: JinHai-CN

[skip ci]update comments in config file (#2542)

* update comments in config file
Signed-off-by: Nwxyu <xy.wang@zilliz.com>

* Update config
Signed-off-by: NJinHai-CN <hai.jin@zilliz.com>
Co-authored-by: NJinHai-CN <hai.jin@zilliz.com>
上级 9d9a453a
...@@ -14,9 +14,9 @@ version: 0.5 ...@@ -14,9 +14,9 @@ version: 0.5
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
# Cluster Config | Description | Type | Default | # Cluster Config | Description | Type | Default |
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
# enable | If runinng with Mishards, set true, otherwise false. | Boolean | false | # enable | If running with Mishards, set true, otherwise false. | Boolean | false |
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
# role | Milvus deployment role: rw / ro | role | rw | # role | Milvus deployment role: rw / ro | Role | rw |
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
cluster: cluster:
enable: false enable: false
...@@ -27,7 +27,7 @@ cluster: ...@@ -27,7 +27,7 @@ cluster:
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
# timezone | Use UTC-x or UTC+x to specify a time zone. | Timezone | UTC+8 | # timezone | Use UTC-x or UTC+x to specify a time zone. | Timezone | UTC+8 |
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
# meta_uri | URI for metadata storage, using SQLite (for single server | URL | sqlite://:@:/ | # meta_uri | URI for metadata storage, using SQLite (for single server | URI | sqlite://:@:/ |
# | Milvus) or MySQL (for distributed cluster Milvus). | | | # | Milvus) or MySQL (for distributed cluster Milvus). | | |
# | Format: dialect://username:password@host:port/database | | | # | Format: dialect://username:password@host:port/database | | |
# | Keep 'dialect://:@:/', 'dialect' can be either 'sqlite' or | | | # | Keep 'dialect://:@:/', 'dialect' can be either 'sqlite' or | | |
...@@ -44,9 +44,9 @@ general: ...@@ -44,9 +44,9 @@ general:
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
# bind.port | Port that Milvus server monitors. Port range (1024, 65535) | Integer | 19530 | # bind.port | Port that Milvus server monitors. Port range (1024, 65535) | Integer | 19530 |
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
# http.enable | Enable web server or not. | Boolean | true | # http.enable | Enable HTTP server or not. | Boolean | true |
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
# http.port | Port that Milvus web server monitors. | Integer | 19121 | # http.port | Port that Milvus HTTP server monitors. | Integer | 19121 |
# | Port range (1024, 65535) | | | # | Port range (1024, 65535) | | |
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
network: network:
...@@ -102,11 +102,11 @@ wal: ...@@ -102,11 +102,11 @@ wal:
# Cache Config | Description | Type | Default | # Cache Config | Description | Type | Default |
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
# cache_size | The size of CPU memory used for caching data for faster | String | 4GB | # cache_size | The size of CPU memory used for caching data for faster | String | 4GB |
# | query. The sum of 'cpu_cache_capacity' and | | | # | query. The sum of 'cache_size' and 'insert_buffer_size' | | |
# | 'insert_buffer_size' must be less than system memory size. | | | # | must be less than system memory size. | | |
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
# insert_buffer_size | Buffer size used for data insertion. | String | 1GB | # insert_buffer_size | Buffer size used for data insertion. | String | 1GB |
# | The sum of 'insert_buffer_size' and 'cpu_cache_capacity' | | | # | The sum of 'insert_buffer_size' and 'cache_size' | | |
# | must be less than system memory size. | | | # | must be less than system memory size. | | |
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
# preload_collection | A comma-separated list of collection names that need to | StringList | | # preload_collection | A comma-separated list of collection names that need to | StringList | |
...@@ -122,7 +122,7 @@ cache: ...@@ -122,7 +122,7 @@ cache:
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
# GPU Config | Description | Type | Default | # GPU Config | Description | Type | Default |
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
# enable | Enable GPU resources or not. | Boolean | false | # enable | Use GPU devices or not. | Boolean | false |
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
# cache_size | The size of GPU memory per card used for cache. | String | 1GB | # cache_size | The size of GPU memory per card used for cache. | String | 1GB |
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
...@@ -134,10 +134,10 @@ cache: ...@@ -134,10 +134,10 @@ cache:
# | if nq < gpu_search_threshold, the search computation will | | | # | if nq < gpu_search_threshold, the search computation will | | |
# | be executed on both CPUs and GPUs. | | | # | be executed on both CPUs and GPUs. | | |
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
# search_resources | The list of GPU devices used for search computation. | DeviceList | gpu0 | # search_devices | The list of GPU devices used for search computation. | DeviceList | gpu0 |
# | Must be in format gpux. | | | # | Must be in format gpux. | | |
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
# build_index_resources| The list of GPU devices used for index building. | DeviceList | gpu0 | # build_index_devices | The list of GPU devices used for index building. | DeviceList | gpu0 |
# | Must be in format gpux. | | | # | Must be in format gpux. | | |
#----------------------+------------------------------------------------------------+------------+-----------------+ #----------------------+------------------------------------------------------------+------------+-----------------+
gpu: gpu:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册