dropFunctionField()
Drops a function and the output field owned by that function.
public void dropFunctionField(DropFunctionFieldReq request)
Request Syntax
DropFunctionFieldReq.builder()
.collectionName(collectionName)
.databaseName(databaseName)
.functionName(functionName)
.build();
BUILDER METHODS:
-
collectionName(String collectionName)The name of the target collection.
-
databaseName(String databaseName)The name of the database. Defaults to the current database when omitted.
-
functionName(String functionName)The name of the function whose definition and output field should be removed.
RETURNS:
void
This operation does not return a value.
EXCEPTIONS:
-
MilvusClientException
Raised when request validation, transport, or server execution fails. Inspect the exception message for the exact failure reason.
Example
client.dropFunctionField(DropFunctionFieldReq.builder()
.collectionName("books")
.functionName("bm25")
.build());