Path expressions
This page describes path expressions functionality.
Overview
As of server version 8.1.1, the path expressions feature introduces granular querying and indexing for nested List and Map structures using contextual expressions. This feature addresses performance bottlenecks and flexibility gaps in document modeling.
Path expressions significantly enhance Aerospike’s capability as a document store, simplifying the developer experience by offering native support for JSON-like models. This allows developers to effectively model data as a list of map elements and easily index, query, and retrieve data from those complex structures. When combined with index expressions, path expressions enables indexing and querying of data even within deeply nested structures.
Key features
-
Enables multi-element selection, retrieval, and manipulation from a nested collection data type structure.
-
Allows a developer to iterate over CDT elements, either a map’s key-value pairs or a list’s values, and exposes data in the current iteration though loop variables.
-
Path expressions can be combined with expression indexes to select multiple elements to index out of a document (nested CDT).
Next steps
-
Check out the Path Expressions Quickstart.
-
Dive deeper with advanced usage.
-
Find more information in the FAQ.