在Neo4j中, ” DROP INDEX ON”语句用于从数据库中删除索引。它将从数据库中永久删除索引。
例:
DROP INDEX ON :player(Goals)
如你在上面的屏幕截图中所见, 索引已删除。
验证
:schema命令用于验证适用的索引已从架构中删除。
你可以看到索引不再在架构中。
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_47523.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57