更新时间:2024-04-17 GMT+08:00

删除索引

您可以使用GES提供的接口删除索引。示例代码如下:

  public static void excuteDeleteIndex(GraphClient graphClient) throws ApiException, GraphSdkException
  {
      //删除indexName为ageIndex的索引
      Map<String, Object> result = graphClient.deleteIndex("ageIndex");
      System.out.print(MapUtils.map2json(result));
  }