Skip to content

Commit

Permalink
Added note to index building in 1.0.0 (#725)
Browse files Browse the repository at this point in the history
  • Loading branch information
YiyunNi authored Sep 29, 2021
1 parent 68df5e8 commit bf03909
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions site/en/quick_start/get_started/create_drop_index_python.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ Currently, a collection only supports one index type. When you change the index
>>> milvus.create_index('test01', IndexType.IVF_FLAT, ivf_param)
```


<div class="alert note">
Ensure you enable GPU when indexing and searching with <code>IVF_SQ8H</code>.
</div>

## Drop an Index

After deleting the index, the collection uses the default index type FLAT again.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ id: create_drop_index_python.md
# Create an index.
>>> milvus.create_index('test01', IndexType.IVF_FLAT, ivf_param)
```
<div class="alert note">
使用<code>IVF_SQ8H</code>建索引或查询时必须启用 GPU。
</div>


## 删除索引

Expand Down

0 comments on commit bf03909

Please sign in to comment.