Skip to main content
Usage

Examples

Update the “MOVIES” index with records from the “objects.ndjson” file:
Update the “MOVIES” index with records from the “objects.ndjson” file and create the records if they don’t exist:
Update the “MOVIES” index with records from the “objects.ndjson” file and wait for the operation to complete:
Update the “MOVIES” index with records from the “objects.ndjson” file and continue updating records even if some are invalid:

Flags

Continue updating records even if some are invalid.
If provided, updating a nonexistent object will create a new one with the objectID and the attributes defined in the file
Validate and preview the update request without sending it
Records to update from file (use ”-” to read from standard input)
Wait for the operation to complete before returning

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