
Meilisearch Search
CertifiedSearch documents in Meilisearch
Meilisearch Search
Certified
Search documents in Meilisearch
Runs a full-text search on a Meilisearch index and writes the hits to an .ion file in Kestra storage. Uses Meilisearch defaults for pagination and requires a URL and API key with search permission.
yaml
type: io.kestra.plugin.meilisearch.SearchExamples
yaml
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: "{{ secret('MEILISEARCH_MASTER_KEY') }}"
- id: to_json
type: io.kestra.plugin.serdes.json.IonToJson
from: "{{ outputs.search_documents.uri }}"
Properties
key *Requiredstring
Meilisearch connection key
url *Requiredstring
Meilisearch connection URL
index string
Index
Name of the Meilisearch index to search.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
query string
Search query
Full-text query string sent to Meilisearch; templated before execution.
Outputs
totalHits integer
Total hits
Number of documents written from the search response.
uri string
Format
uriOutput URI
URI in Kestra storage to the .ion file containing search hits.