Meilisearch Search

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.Search
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

Meilisearch connection key

Meilisearch connection URL

Index

Name of the Meilisearch index to search.

Reference (ref) of the pluginDefaults to apply to this task.

Search query

Full-text query string sent to Meilisearch; templated before execution.

Total hits

Number of documents written from the search response.

Formaturi

Output URI

URI in Kestra storage to the .ion file containing search hits.