Figaro - The XML Database for the .NET Framework

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:

Copy 
[unique]-{path type}-{node type}-{key type}-{syntax type}
where:

The following are some example index strategies:

  • node-element-presence-none
  • unique-node-metadata-equality-string
  • edge-attribute-equality-float

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

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