Recipes for searching JSON documents

This section contains ready-made recipes for using JSON indexes to efficiently select data based on the contents of columns of type Json and JsonDocument.

The recipes are built around the JSON_EXISTS and JSON_VALUE functions with JsonPath expressions. To guarantee index usage, all examples use explicit access via VIEW IndexName.

Before running the examples, make sure that JSON index support is enabled on the cluster.