Unverified Commit 423098dc authored by BossZou's avatar BossZou Committed by GitHub
Browse files

Update mishards configure files (#1938)



* Update web readme

Signed-off-by: default avatarYhz <yinghao.zou@zilliz.com>

* [skip ci] update configure files

Signed-off-by: default avatarYhz <yinghao.zou@zilliz.com>

* [skip ci] rename table to collection

Signed-off-by: default avatarYhz <yinghao.zou@zilliz.com>
parent 46440076
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

Please mark all change in change log and use the issue from GitHub

# Milvus 0.8.0 (2020-04-14)
# Milvus 0.8.0 (2020-04-15)

## Bug
-   \#1276 SQLite throw exception after create 50000+ partitions in a table
@@ -34,7 +34,7 @@ Please mark all change in change log and use the issue from GitHub
-   \#1886 Refactor log on search and insert request
-   \#1897 Heap pop and push can be realized by heap_swap_top
-   \#1928 Fix too many data and uid copies when loading files
-   \#1930 Upgrade mishards to 0.8.0
-   \#1930 Upgrade mishards to v0.8.0

## Task

+20 −6
Original line number Diff line number Diff line
@@ -423,11 +423,20 @@ Creates a collection.
##### Body Parameters

| Parameter         | Description                                                                               | Required? |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| ----------------- | ----------------------------------------------------------------------------------------- | --------- |
| `collection_name` | The name of the collection to create, which must be unique within its database.           | Yes       |
| `dimension`       | The dimension of the vectors that are to be inserted into the created collection.         | Yes       |
| `index_file_size` | Threshold value that triggers index building for raw data files. The default is 1024.     | No        |
| `metric_type`     | The method vector distances are compared in Milvus. The default is L2. Currently supported metrics include `L2` (Euclidean distance), `IP` (Inner Product), `HAMMING` (Hamming distance), `JACCARD` (Jaccard distance), and `TANIMOTO` (Tanomoto distance). | No        |
| `metric_type`     | The method vector distances are compared in Milvus. The default is L2.                    | No        |

* Currently supported metrics include:
    - `L2` (Euclidean distance),
    - `IP` (Inner Product)
    - `HAMMING` (Hamming distance)
    - `JACCARD` (Jaccard distance)
    - `TANIMOTO` (Tanomoto distance)
    - `SUBSTRUCTURE` (Sub structure distance)
    - `SUPERSTRUCTURE` (Super structure distance)

#### Response

@@ -1541,6 +1550,11 @@ For each index type, the RESTful API has specific index parameters and search pa
 <td><pre><code>{"M": $int, "efConstruction": $int}</code></pre></td>
 <td><pre><code>{"ef": $int}</code></pre></td>
</tr>
<tr>
 <td> ANNOY</td>
 <td><pre><code>{"n_trees": $int}</code></pre></td>
 <td><pre><code>{"search_k": $int}</code></pre></td>
</tr>
</table>

For detailed information about the parameters above, refer to [Milvus Indexes](https://milvus.io/docs/guides/index.md)
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ Follow below steps to start a standalone Milvus instance with Mishards from sour
3. Start Milvus server.

   ```shell
   $ sudo nvidia-docker run --rm -d -p 19530:19530 -v /tmp/milvus/db:/opt/milvus/db milvusdb/milvus:0.6.0-gpu-d120719-2b40dd
   $ sudo nvidia-docker run --rm -d -p 19530:19530 -v /tmp/milvus/db:/opt/milvus/db milvusdb/milvus:0.8.0-gpu-d041520-464400
   ```

4. Update path permissions.
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ Python 版本为3.6及以上。
3. 启动 Milvus 服务。

   ```shell
   $ sudo nvidia-docker run --rm -d -p 19530:19530 -v /tmp/milvus/db:/opt/milvus/db milvusdb/milvus:0.6.0-gpu-d120719-2b40dd
   $ sudo nvidia-docker run --rm -d -p 19530:19530 -v /tmp/milvus/db:/opt/milvus/db milvusdb/milvus:0.8.0-gpu-d041520-464400
   ```

4. 更改目录权限。
+2 −2
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ services:
    milvus_wr:
        runtime: nvidia
        restart: always
        image: milvusdb/milvus:0.7.1-gpu-d032920-3cdba5
        image: milvusdb/milvus:0.8.0-gpu-d041520-464400
        ports:
            - "0.0.0.0:19540:19530"
        volumes:
@@ -13,7 +13,7 @@ services:
    milvus_ro:
        runtime: nvidia
        restart: always
        image: milvusdb/milvus:0.7.1-gpu-d032920-3cdba5
        image: milvusdb/milvus:0.8.0-gpu-d041520-464400
        ports:
            - "0.0.0.0:19541:19530"
        volumes:
Loading