neo4j :
MATCH (n)
OPTIONAL MATCH (n)-[r]-()
DELETE n,r
es :
curl -XDELETE http://localhost:9200/*
JanusGraph :
graph.close()
JanusGraphFactory.drop(graph)
neo4j :
MATCH (n)
OPTIONAL MATCH (n)-[r]-()
DELETE n,r
es :
curl -XDELETE http://localhost:9200/*
JanusGraph :
graph.close()
JanusGraphFactory.drop(graph)
建立索引 PUT /my_locations { "mappings": { "properties": { "pin": { "properties
文檔格式如下: { "account_number": 1, "balance": 39225,