Skip to main content

CREATE PREDICATE INDEX

Index a metadata field so predicate filters run as a direct lookup instead of a full scan.

Syntax

CREATE PREDICATE INDEX <field> IN <store_name>CREATE PREDICATE INDEX <field> IN <store_name> SCHEMA analytics

Example

CREATE PREDICATE INDEX category IN my_store

See SDK examples for Python, Node, Go, and Rust.