autoindex

37 views
Skip to first unread message

BT

unread,
May 30, 2012, 4:53:14 PM5/30/12
to gremli...@googlegroups.com
I'm trying to update a gremlin script from 1.4 to the new germlin...

http://code.google.com/p/eac-graph-load/source/browse/load/load_eac.grm

Do automatic indexes still work? I can't find them in the wikis anywhere

I'm getting an error like this:

No signature of method: groovy.lang.MissingMethodException.createAutomaticIndex() is applicable for argument types: () values: []

This is the only thing I can find related; but I've been looking over this for a couple of hours and I can't make heads nor tails of it

https://groups.google.com/forum/m/#!topic/neo4j/qe0uUmkZzx8

should I just create the index manually?

Stephen Mallette

unread,
May 30, 2012, 5:05:24 PM5/30/12
to gremli...@googlegroups.com
The notion of "automatic" indices is no longer present in the same
way. Automatic indices have essentially been replaced by key indices.
You can read about them here:

https://github.com/tinkerpop/blueprints/wiki/Graph-Indices

Specifically note the "KeyIndexableGraph and Fast LookUp of Elements
by Key/Value Pairs" section. Here's some gremlin to look at:

https://gist.github.com/2838976

HTH,

Stephen
Reply all
Reply to author
Forward
0 new messages