Skip to main content

toradb-ingest bulk

Build: cargo build -p toradb-cli --release
path
required
Database directory.
str
default:"passages"
Table name.
str
default:"parquet"
parquet or jsonl.
path
Parquet file/directory or JSONL path.
int
default:"0"
Max documents (0 = no limit).
flag
Remove existing table directory before ingest.
Bulk tables use index_mode=segment_only: segment BM25 sidecars without merging into RAM-heavy bm25.bin or reloading all texts at finish.

toradb smoke

Creates a temporary database, ingests sample docs, runs search and GROUP BY SQL.
int
0 on success, 1 on failure.

toradb query PATH TABLE Q

str
required
Database directory.
str
required
Table name.
str
required
Query string.
int
default:"10"
Number of results.
Prints id and score tab-separated.

toradb sql PATH QUERY

Runs any supported SQL statement. Prints text for DDL/DESCRIBE; tab-separated columns for analytics/search frames.

toradb tables PATH

Runs DESCRIBE for each table in the database.

toradb reindex PATH TABLE

str
default:"BM25"
Index algorithm.
str
default:"text"
Indexed column.
Executes CREATE INDEX cli_reindex ON table (column) USING ....

Exit codes

See CLI guide.