Skip to main content
Usage

Examples

Import rules from the “rules.ndjson” file to the “MOVIES” index:
Import rules from the standard input to the “MOVIES” index:
Browse the rules in the “SERIES” index and import them to the “MOVIES” index:
Import rules from the “rules.ndjson” file to the “MOVIES” index and don’t forward them to the index replicas:

Flags

Delete existing rules before importing new ones
Skip the confirmation prompt.
Validate and preview the import request without sending it
Import rules from a file (use ”-” to read from standard input)
Whether to add the rules to replica indices
wait for the operation to complete

Output formatting flags

If true, ignore errors in templates due to missing fields or map keys. This only applies to golang and jsonpath output formats.
Output format. One of: (json, jsonl, ndjson, jsonpath, jsonpath-as-json, jsonpath-file).
Template string or path to a template file to use when —output=jsonpath, —output=jsonpath-file.
Last modified on July 15, 2026