neo4j自动索引REST服务器
我试图使用自动索引与neo4j REST服务器(社区 – 1.4.M04)。 这是在Rails项目中,所以即时使用neography
包装器。
我无法在线找到合并的教程,我可以从多个博客中找到,这就是我所做的:
在conf / neo4j.properties中:
node_keys_indexable=title,bucket_type node_auto_indexing=true relationship_auto_indexing=true
之后,使用rails控制台:
neo = Neography::Rest.new neo.create_node_index("node_auto_index", "fulltext", "lucene")
我可以在webadmin中查看索引,但查询数据:
localhost:7474/db/data/index/node/node_auto_index/name/test_name
不会返回任何数据。
任何帮助将非常感激。
添加索引不会将旧数据添加到索引中。 这必须手动完成。