Specifying Index Strategies

The combined index type and syntax type is called the index strategy. To specify an index, you declare it using a string that specifies your index strategy. This string is formatted as follows:

[unique]-{path type}-{node type}-{key type}-{syntax type}

where:

The following are some example index strategies:

Also, be aware that you can specify multiple indices at a time by providing a space-separated list of index strategies in the string. For example, you can specify two index strategies at a time using:

"node-element-presence-none edge-attribute-equality-float"