Skip to main content
Usage
algolia objects import <index> -F <file> [flags]

Examples

Import records from the β€œdata.ndjson” file into the β€œMOVIES” index:
algolia objects import MOVIES -F data.ndjson
Import records from the standard input into the β€œMOVIES” index:
cat data.ndjson | algolia objects import MOVIES -F -
Browse records in the β€œSERIES” index and import them into the β€œMOVIES” index:
algolia objects browse SERIES | algolia objects import MOVIES -F -

Flags

-a, --auto-generate-object-id-if-not-exist
Auto-generate object IDs if they don’t exist
-b, --batch-size
Specify the upload batch size
-F, --file
Import records from a file (use ”-” to read from standard input)
-w, --wait
wait for the operation to complete
⌘I