如何使用Cypher查询语言在已经创建的节点上创建索引,而不使用Neo4j中的标签
如何使用Cypher查询语言在已经创建的节点上创建索引,而不使用Neo4j中的标签。我想要手动索引而不是自动索引 我打了一个查询如何使用Cypher查询语言在已经创建的节点上创建索引,而不使用Neo4j中的标签,neo4j,cypher,Neo4j,Cypher,如何使用Cypher查询语言在已经创建的节点上创建索引,而不使用Neo4j中的标签。我想要手动索引而不是自动索引 我打了一个查询 CREATE INDEX ON :name(name); 得到 SyntaxException: string matching regex `$' expected but `O' found ==> ==> Think we should have better error message here? Help us by sending
CREATE INDEX ON :name(name);
得到
SyntaxException: string matching regex `$' expected but `O' found
==>
==> Think we should have better error message here? Help us by sending this query to cypher@neo4j.org.
==>
==> Thank you, the Neo4j Team.
假设您没有使用2.0 不能使用Cypher创建索引。您必须通过api()或REST()手动创建它