1

I am having some trouble getting my auto indexing to work.

While the neo4j service was stopped I changed the neo4j.properties file and set: #node_auto_indexing=true

Then typed my indexing keys like so: #node_keys_indexable=Name,Type,GUID,CurrentVersion,DateTimeCreated,CurrentVersionDateTimeCreated,VersionCount,CustomerName,DocumentReferece,Version.

I then started the service again and did the following: neo4j-sh (0)$ index --create node_auto_index -t Node

I then created some nodes and ran the following query:

neo4j-sh (0)$ start n = node:node_auto_index(Name = "Quote") return n;

The results were:

==> +---+
==> | n |
==> +---+
==> +---+
==> 0 row
==> 237 ms 

I am using neo4j-advanced-2.0.0-M02 with the Neo4jClient for .NET and C#. Is there anything that I am doing wrong here or are there perhaps any other configuration steps that I am missing.

I have tried the following: 1, 2

Community
  • 1
  • 1
Mike Barnes
  • 4,217
  • 18
  • 40
  • 64

1 Answers1

2

Do you really have # in front of your config file lines still?--because if so, they're commented out. You shouldn't need to manually create an autoindex.

Eve Freeman
  • 32,467
  • 4
  • 86
  • 101