Flow
Core objects
| Object | Role |
|---|---|
Database | Open a path on disk (toradb.local(path)). |
Table | Named collection of documents; created with mode="text" or mode="hybrid". |
SearchResults | Ranked hits from table.search or retrieval SELECT. |
SearchResults.provenance | Structured JSON trace of candidate flow across retrieval tiers (when explain=True). |
| Analytics result | Tabular output from GROUP BY / aggregates via db.sql. |
Two ways to query
- Python SDK —
table.search(...)for retrieval;db.sql(...)for SQL. - CLI —
toradb query,toradb sql,toradb tables,toradb reindex.
