DocumentGet
DocumentGet
yaml
type: "io.kestra.plugin.meilisearch.DocumentGet"
Get Document
Get a json document from Meilisearch using id and index
Examples
Get Document from Meilisearch
yaml
id: "document_get"
type: "io.kestra.plugin.meilisearch.DocumentGet"
id: meilisearch-get-flow
namespace: company.team
variables:
id: a123
index: pokemons
host: http://172.18.0.3:7700/
tasks:
- id: get_document
type: io.kestra.plugin.meilisearch.DocumentGet
index: {{ vars.index }}
documentId: {{ vars.id }}
url: "{{ vars.host }}"
key: "MASTER_KEY"
Properties
documentId
- Type: string
- Dynamic: ✔️
- Required: ✔️
Document ID
index
- Type: string
- Dynamic: ✔️
- Required: ✔️
Index
Index of the collections you want to retrieve your document from
key
- Type: string
- Dynamic: ✔️
- Required: ✔️
Meilisearch connection key.
url
- Type: string
- Dynamic: ✔️
- Required: ✔️
Meilisearch connection URL.
Outputs
document
- Type: object
- Required: ❌
JSON Document
Returned document as a JSON object
Was this page helpful?