Skip to content

Commit

Permalink
Update 'Vespa-CLI' reference documentation. (#3572)
Browse files Browse the repository at this point in the history
Co-authored-by: kkraune <[email protected]>
  • Loading branch information
github-actions[bot] and kkraune authored Jan 8, 2025
1 parent 1160347 commit 41703e6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion en/reference/vespa-cli/vespa_document.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 a document
* [vespa document get](vespa_document_get.html) - Gets 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
Expand Down
4 changes: 2 additions & 2 deletions en/reference/vespa-cli/vespa_document_get.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ render_with_liquid: false

## vespa document get

Gets a document
Gets documents

```
vespa document get id [flags]
Expand All @@ -14,7 +14,7 @@ vespa document get id [flags]
### Examples

```
$ vespa document get id:mynamespace:music::a-head-full-of-dreams
$ vespa document get id:mynamespace:music::a-head-full-of-dreams...
```

### Options
Expand Down
3 changes: 3 additions & 0 deletions en/reference/vespa-cli/vespa_document_put.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ Writes the document in the given file to Vespa.
If the document already exists, all its values will be replaced by this document.
If the document id is specified both as an argument and in the file the argument takes precedence.

If json-file is a single dash ('-'), the document will be read from standard input.


```
vespa document put [id] json-file [flags]
```
Expand Down

0 comments on commit 41703e6

Please sign in to comment.