diff --git a/en/reference/vespa-cli/vespa.md b/en/reference/vespa-cli/vespa.md index 4f955f7c58..952667df61 100644 --- a/en/reference/vespa-cli/vespa.md +++ b/en/reference/vespa-cli/vespa.md @@ -52,7 +52,6 @@ vespa [flags] * [vespa document](vespa_document.html) - Issue a single document operation to Vespa * [vespa feed](vespa_feed.html) - Feed multiple document operations to Vespa * [vespa fetch](vespa_fetch.html) - Download a deployed application package -* [vespa inspect](vespa_inspect.html) - Provides insight * [vespa log](vespa_log.html) - Show the Vespa log * [vespa prepare](vespa_prepare.html) - Prepare an application package for activation * [vespa prod](vespa_prod.html) - Deploy an application package to production in Vespa Cloud diff --git a/en/reference/vespa-cli/vespa_document.md b/en/reference/vespa-cli/vespa_document.md index 0b3215e96f..0371acfd97 100644 --- a/en/reference/vespa-cli/vespa_document.md +++ b/en/reference/vespa-cli/vespa_document.md @@ -55,7 +55,7 @@ $ vespa document src/test/resources/A-Head-Full-of-Dreams.json ### SEE ALSO * [vespa](vespa.html) - The command-line tool for Vespa.ai -* [vespa document get](vespa_document_get.html) - Gets documents +* [vespa document get](vespa_document_get.html) - Gets one or more documents * [vespa document put](vespa_document_put.html) - Writes a document to Vespa * [vespa document remove](vespa_document_remove.html) - Removes a document from Vespa * [vespa document update](vespa_document_update.html) - Modifies some fields of an existing document diff --git a/en/reference/vespa-cli/vespa_document_get.md b/en/reference/vespa-cli/vespa_document_get.md index 83d2c717e9..66cdb2b0e4 100644 --- a/en/reference/vespa-cli/vespa_document_get.md +++ b/en/reference/vespa-cli/vespa_document_get.md @@ -5,16 +5,17 @@ render_with_liquid: false ## vespa document get -Gets documents +Gets one or more documents ``` -vespa document get id [flags] +vespa document get id(s) [flags] ``` ### Examples ``` -$ vespa document get id:mynamespace:music::a-head-full-of-dreams... +$ vespa document get id:mynamespace:music::song-1 +$ vespa document get id:mynamespace:music::song-1 id:mynamespace:music::song-2 ``` ### Options @@ -23,6 +24,7 @@ $ vespa document get id:mynamespace:music::a-head-full-of-dreams... --field-set string Fields to include when reading document --header strings Add a header to the HTTP request, on the format 'Header: Value'. This can be specified multiple times -h, --help help for get + --ignore-missing Do not treat non-existent document as an error -T, --timeout int Timeout for the document request in seconds (default 60) -v, --verbose Print the equivalent curl command for the document operation -w, --wait int Number of seconds to wait for service(s) to become ready. 0 to disable (default 0) diff --git a/en/reference/vespa-cli/vespa_query.md b/en/reference/vespa-cli/vespa_query.md index 233fea5ca8..e94008a317 100644 --- a/en/reference/vespa-cli/vespa_query.md +++ b/en/reference/vespa-cli/vespa_query.md @@ -29,15 +29,13 @@ $ vespa query --header="X-First-Name: Joe" "yql=select * from music where album ### Options ``` - --file string Read query parameters from the given JSON file and send a POST request, with overrides from arguments - --format string Output format. Must be 'human' (human-readable) or 'plain' (no formatting) (default "human") - --header strings Add a header to the HTTP request, on the format 'Header: Value'. This can be specified multiple times - -h, --help help for query - --profile Enable profiling mode (Note: this feature is experimental) - --profile-file string Profiling result file (default "vespa_query_profile_result.json") - -T, --timeout int Timeout for the query in seconds (default 10) - -v, --verbose Print the equivalent curl command for the query - -w, --wait int Number of seconds to wait for service(s) to become ready. 0 to disable (default 0) + --file string Read query parameters from the given JSON file and send a POST request, with overrides from arguments + --format string Output format. Must be 'human' (human-readable) or 'plain' (no formatting) (default "human") + --header strings Add a header to the HTTP request, on the format 'Header: Value'. This can be specified multiple times + -h, --help help for query + -T, --timeout int Timeout for the query in seconds (default 10) + -v, --verbose Print the equivalent curl command for the query + -w, --wait int Number of seconds to wait for service(s) to become ready. 0 to disable (default 0) ``` ### Options inherited from parent commands