Skip to content

Commit

Permalink
add-faq
Browse files Browse the repository at this point in the history
  • Loading branch information
LocoRichard committed Aug 20, 2021
1 parent 958f145 commit 23a2bb9
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
6 changes: 6 additions & 0 deletions site/en/faq/operational_faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ You receive this warning if the graphics memory required for a request is larger

If you use SQLite to manage Metadata, you receive this error message when write requests occur frequently. We recommend using MySQL for Metadata management. See [Manage Metadata with MySQL](data_manage.md).


#### Got an error `Segmentation Fault` from PyMilvus. What shall I do?

PyMilvus v1.1.0 allows you to download the latest version of the grpcio library. The server of Milvus v1.x is built on a earlier, customized version of gRPC, which is incompatible with the latest grpcio library. To fix this issue, either upgrade your PyMilvus version from v1.1.0 to v1.1.1 or roll back your grpcio library to 1.37.0:
Expand All @@ -137,6 +138,11 @@ pip install grpcio==1.37.0
pip install grpcio-tools==1.37.0
```

#### Can I specify the timeout for `Milvus()`?

Yes, PyMilvus v1.1.2 supports specifying the server connection timeout.


#### Still have questions?

You can:
Expand Down
13 changes: 13 additions & 0 deletions site/en/faq/product_faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,19 @@ See [Index Types](index.md) for more information.

{{fragments/faq_max_vector_dimension.md}}

#### Why does Milvus set an upper limit of 256 MB for the data that can be inserted at a time?

Data inserted to Milvus is first written into memory. This limit is to avoid over-occupation of memory resources.

#### Milvus merges multi-thread query requests in one batch. How to cancel this mechanism?

You can add the following section to the configuration file **server_config.yaml**:

```yaml
engine_config:
search_combine_nq: 1
```
#### Still have questions?
You can:
Expand Down
5 changes: 5 additions & 0 deletions site/zh-CN/faq/operational_faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ Milvus 是以 Docker 镜像形式发行的,是可以离线部署的:

如果元数据管理用的是 SQLite,在有数据频繁写入的情况下会出现该错误。建议将 SQLite 更换为 MySQL。如何更换请参考文档 [使用 MySQL 管理元数据](data_manage.md)


#### PyMilvus 返回 `Segmentation Fault` 错误,如何解决?

PyMilvus v1.1.0 允许下载最新版本的 grpcio library,而 Milvus v1.x 的服务端则基于早期的定制版本 gRPC 搭建,该版本 gRPC 与最新版本 grpcio library 不兼容。解决此问题需将 PyMilvus 升级至 v1.1.1 或将 grpcio library 回滚至 1.37.0:
Expand All @@ -133,6 +134,10 @@ pip install grpcio-tools==1.37.0



#### 是否可以指定 `Milvus()` 接口的超时时间?


PyMilvus v1.1.2 已支持指定服务器连接超时时间。

#### 仍有问题没有得到解答?

Expand Down
12 changes: 12 additions & 0 deletions site/zh-CN/faq/product_faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,18 @@ collection 数量没有限制。每个 collection 内的 partition 总数不能
#### Milvus 支持的向量维度的最大值是多少?
{{fragments/faq_max_vector_dimension.md}}

#### 为什么 Milvus 对单次可插入的数据大小设置了 256MB 的上限?

插入 Milvus 中的数据会被先写入内存。 这个限制是为了避免插入操作过度占用内存资源。

#### Milvus 会批量合并多线程查询请求。 如何取消这个机制?

你可以将以下内容添加至配置文件 **server_config.yaml** 中:

```yaml
engine_config:
search_combine_nq: 1
```
#### 仍有问题没有得到解答?
Expand Down

0 comments on commit 23a2bb9

Please sign in to comment.