Skip to content

Commit df68a70

Browse files
committed
fix issues
Signed-off-by: nameczz <zizhao.chen@zilliz.com>
1 parent e93401d commit df68a70

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

client/src/consts/Milvus.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const FLOAT_INDEX_CONFIG: indexConfigType = {
8383
// search: ['nprobe'],
8484
// },
8585
FLAT: {
86-
create: ['nlist'],
86+
create: [''],
8787
search: ['nprobe'],
8888
},
8989
HNSW: {

client/src/pages/query/Query.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,9 @@ const Query: FC<{
166166

167167
const handleDelete = async () => {
168168
await CollectionHttp.deleteEntities(collectionName, {
169-
expr: `${primaryKey} in [${selectedData.map(v => v.id).join(',')}]`,
169+
expr: `${primaryKey} in [${selectedData
170+
.map(v => v[primaryKey])
171+
.join(',')}]`,
170172
});
171173
handleCloseDialog();
172174
openSnackBar(successTrans('delete', { name: collectionTrans('entites') }));

0 commit comments

Comments
 (0)