Neo4j 自动索引不起作用
我在使用自动索引时遇到了一些问题 当neo4j服务停止时,我更改了neo4j.properties文件并设置:Neo4j 自动索引不起作用,neo4j,cypher,Neo4j,Cypher,我在使用自动索引时遇到了一些问题 当neo4j服务停止时,我更改了neo4j.properties文件并设置:#node_auto_index=true 然后像这样键入我的索引键:#node\u keys\u indexable=名称、类型、GUID、CurrentVersion、DateTimeCreated、CurrentVersionDateTimeCreated、VersionCount、CustomerName、DocumentReference、Version 然后,我再次启动了服务
#node_auto_index=true
然后像这样键入我的索引键:#node\u keys\u indexable=名称、类型、GUID、CurrentVersion、DateTimeCreated、CurrentVersionDateTimeCreated、VersionCount、CustomerName、DocumentReference、Version
然后,我再次启动了服务,并执行了以下操作:
neo4j sh(0)$index--创建节点\u自动\u索引-t节点
然后,我创建了一些节点并运行以下查询:
neo4j-sh (0)$ start n = node:node_auto_index(Name = "Quote") return n;
结果是:
==> +---+
==> | n |
==> +---+
==> +---+
==> 0 row
==> 237 ms
我正在将neo4j-advanced-2.0.0-M02与.NET和C#的Neo4jClient一起使用。
这里是否有我做错的地方,或者是否有我遗漏的任何其他配置步骤
我尝试了以下方法:
,您的配置文件行前面还有
#
吗?--因为如果有,它们会被注释掉。您不需要手动创建自动索引。我现在听起来像个傻瓜!发生在我们最好的人身上;)