图引擎服务 GES-新建索引:请求示例

时间:2025-01-03 16:00:02

请求示例

创建复合索引,索引名称为ageIndex,索引类型为全局点索引。
POST http://{SERVER_URL}/ges/v1.0/{project_id}/graphs/{graph_name}/indices
{
    "indexName":"ageIndex",
    "indexType": "GlobalCompositeVertexIndex",
    "hasLabel": true,
    "indexProperty": ["age"]
}
support.huaweicloud.com/api-ges/ges_03_0454.html