Search
yaml
type: "io.kestra.plugin.meilisearch.Search"
Search Document
Perform a basic search query on a Meilisearch database with specific query and return the results in an .ion file
Examples
yaml
id: "search"
type: "io.kestra.plugin.meilisearch.Search"
id: meilisearch-search-flow
namespace: company.team
variables:
index: movies
query: "Lord of the Rings"
host: http://172.18.0.3:7700/
tasks:
- id: search_documents
type: io.kestra.plugin.meilisearch.Search
index: {{ vars.index }}
query: {{ vars.query }}
url: "{{ vars.host }}"
key: "MASTER_KEY"
- id: to_json
type: io.kestra.plugin.serdes.json.IonToJson
from: "{{ outputs.search_documents.uri }}"
Properties
key
- Type: string
- Dynamic: ✔️
- Required: ✔️
Meilisearch connection key.
url
- Type: string
- Dynamic: ✔️
- Required: ✔️
Meilisearch connection URL.
index
- Type: string
- Dynamic: ✔️
- Required: ❌
Index
Index of the collection you want to perform a search on
query
- Type: string
- Dynamic: ✔️
- Required: ❌
Search Query
Query performed to search on a specific collection
Outputs
totalHits
- Type: integer
- Required: ❌
Hits number
Number of items hit by the search request
uri
- Type: string
- Required: ❌
- Format:
uri
URI to output
Results URI to an Amazon .ion file
Was this page helpful?