usage: quivr search --corpus <corpus-id> [--corpus <corpus-id>]... [--mode lexical|semantic|hybrid] [--profile <name>] [--limit <1-50>] [--source <namespace>]... [--json] [--api-url <url>] [--api-key <key>] <query>
Search one or more Corpora of a running Quivr and print ranked hits with their provenance.
Flags:
-api-key string
API key sent as a bearer token (default $QUIVR_API_KEY)
-api-url string
Quivr API base URL (default $QUIVR_API_URL)
-corpus value
Corpus ID to search; repeat or separate with commas (required)
-json
print the public API response unchanged
-limit int
maximum number of hits, 1 to 50 (server default: 10)
-mode string
search mode: lexical, semantic or hybrid (server default: hybrid)
-profile string
search profile name, as GET /v0/search/profiles lists them (server default: default)
-source value
keep only Records from this Source Namespace, ranked among themselves; repeat or separate with commas
This command needs a running Quivr server. It reads the server address from
QUIVR_API_URL and the API key from QUIVR_API_KEY; --api-url and --api-key
override them. It talks to the server only through its public HTTP API.
Exit codes:
0 success
1 unexpected failure
2 invalid arguments, or a missing or malformed API URL
3 API key rejected, or not allowed on a requested resource (401, 403)
4 request rejected as invalid (400, 404, 409, 422)
5 server unreachable or unavailable (connection error, timeout, 5xx)
130 interrupted