Updated on 2022-11-14 GMT+08:00

Deleting an Index

You can use a specific API provided by GES to delete an index. The sample code is as follows:

  public void excuteDeleteIndex(GraphClient graphClient) throws ApiException, GraphSdkException
  {
     //Delete the index whose indexName is ageIndex.
      Map<String, Object> result = graphClient.deleteIndex("ageIndex");
      System.out.print(MapUtils.map2json(result));
  }