|
@@ -32,17 +32,3 @@ milvusClient.createIndex(
|
|
|
|
|
|
return JavaCode;
|
|
return JavaCode;
|
|
};
|
|
};
|
|
-
|
|
|
|
-// const JavaCode = `import { MilvusClient } from '@zilliz/milvus2-sdk-node';
|
|
|
|
-// const client = new MilvusClient(milvus_address);
|
|
|
|
-
|
|
|
|
-// client.indexManager.createIndex({
|
|
|
|
-// collection_name: '${collectionName}',
|
|
|
|
-// index_name:'${indexName}',
|
|
|
|
-// field_name: '${fieldName}',
|
|
|
|
-// ${
|
|
|
|
-// isScalarField
|
|
|
|
-// ? ''
|
|
|
|
-// : `extra_params: ${JSON.stringify(extraParams, null, 2)},`
|
|
|
|
-// }
|
|
|
|
-// });
|
|
|