neo4j Auto indexing for a REST Server

隐身守侯 提交于 2019-12-11 12:09:56

问题


Im trying to use auto indexing with the neo4j REST server (Community - 1.4.M04). This is in a Rails project, so im using the neography wrapper.

I couldnt find a consolidated tutorial online, from what i could follow from multiple blogs, here is what i did:

In conf/neo4j.properties:

node_keys_indexable=title,bucket_type
node_auto_indexing=true
relationship_auto_indexing=true

After that, using a rails console:

neo = Neography::Rest.new
neo.create_node_index("node_auto_index", "fulltext", "lucene")

I can see the index in the webadmin, but querying data:

localhost:7474/db/data/index/node/node_auto_index/name/test_name

does not return any data.

Any help would be much appreciated.


回答1:


Adding an index doesn't add older data to the index. This has to be done manually.



来源:https://stackoverflow.com/questions/8048775/neo4j-auto-indexing-for-a-rest-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!