milvus-docs icon indicating copy to clipboard operation
milvus-docs copied to clipboard

[ERROR]: Code example of [Drop an Index] is inconsistent with the milvus-sdk-java

Open fall-nebula opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues.

Issue

https://milvus.io/docs/drop_index.md#Drop-an-Index Java code example use function.withFieldName(String).

milvusClient.dropIndex(
  DropIndexParam.newBuilder()
    .withCollectionName("book")
    .withFieldName("book_intro")
    .build()
);

milvus-sdk-java 2.1.0 delete this function milvus-sdk-java commit

Suggestion

Modify the Java example of DocsMilvus v2.1.x / v2.2.x

Anything else?

Does that mean that index creation can be done by field name, but deletion cannot be done by field name parameter?

fall-nebula avatar Apr 06 '23 09:04 fall-nebula