Neo4j Automatic Indexing using Neography

577 views Asked by At

Trying to implement auto_indexing using the details gleaned from this thread

Not really getting any success in retrieving nodes using the index.

My neo4j.properties:

node_keys_indexable=title,bucket_type,username
node_auto_indexing=true
relationship_auto_indexing=true
relationship_keys_indexable=since

This is what I do to create the node. The node creation works.

user = Neo.create_node({:class_name => "User", :username => "foobar1"})

This is what I do to find the node using the index:

start user=node:node_auto_index(username = 'foobar1') return user

doesnt return anything. Any ideas why? Any way to inspect the contents of an index?

0

There are 0 answers