Commit f7a4839
authored
enhance: update milvus-proto and correct index.drop() (#2142)
Index name and field name is already there for Index object, No need to
get them from kwargs when drop
```python
ivf_flat = Index(c, "embeddings", params, index_name="ivf_flat",
construct_only=True)
ivf_flat.drop()
```
---------
Signed-off-by: yangxuan <xuan.yang@zilliz.com>1 parent cddbf61 commit f7a4839
2 files changed
+6
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | | - | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 76 | + | |
| 77 | + | |
80 | 78 | | |
81 | 79 | | |
82 | 80 | | |
| |||
137 | 135 | | |
138 | 136 | | |
139 | 137 | | |
140 | | - | |
141 | 138 | | |
0 commit comments