1

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.

zsquare
  • 9,916
  • 6
  • 53
  • 87

1 Answers1

0

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

Eran
  • 387,369
  • 54
  • 702
  • 768
zsquare
  • 9,916
  • 6
  • 53
  • 87