Signed-off-by: tumao <yan.wang@zilliz.com>
@@ -86,7 +86,7 @@ export const FLOAT_INDEX_CONFIG: indexConfigType = {
// search: ['nprobe'],
// },
FLAT: {
- create: [''],
+ create: [],
search: ['nprobe'],
},
HNSW: {
@@ -256,6 +256,7 @@ const CreateIndex = (props: {
// setDisabled(true);
setIndexSetting(v => ({
...v,
+ index_name: '',
metric_type: defaultMetricType,
M: '',
m: '4',
@@ -174,6 +174,7 @@ const CreateForm = (
type="text"
textConfig={indexNameConfig}
checkValid={checkIsValid}
+ validInfo={validation}
/>
<CustomSelector
label={indexTrans('type')}