PhoenixmlDb.Core

IndexConfiguration

Configuration for container indexes.

#IndexConfiguration

Namespace: PhoenixmlDb.Core

Configuration for container indexes.

#Methods

#AddFullTextIndex(String,PhoenixmlDb.Core.FullTextIndexOptions)

Adds a full-text index for text search.

Parameters:

  • pathPattern — Path to index (null for all text content).

  • options — Tokenization and analysis options.

#AddMetadataIndex(String,PhoenixmlDb.Core.XdmValueType)

Adds a metadata index for document-level queries.

#AddNameIndex(String)

Adds a name index for fast element/attribute lookup.

Parameters:

  • namespaceUri — Namespace to index (null = all namespaces).

#AddPathIndex(String)

Adds a path index for specific path patterns.

Parameters:

  • pathPattern — XPath-like pattern: //customer/address, /root/item/@id Supports: / (child), // (descendant), @ (attribute), * (wildcard)

#AddValueIndex(String,PhoenixmlDb.Core.XdmValueType,String)

Adds a value index for typed comparisons and range queries.

Parameters:

  • pathPattern — Path to the element/attribute to index.

  • valueType — XDM type for value conversion.

  • collation — Collation for string ordering (null for binary).

#EnableStructuralIndex(Boolean)

Enables or disables structural indexing for axis navigation. Enabled by default.