Search for a document in Meilisearch.

Perform a basic search query on a Meilisearch database and return the results in an ION file.

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

Index of the collection you want to perform a search on

Search Query

Query performed to search on a specific collection

Hits number

Number of items hit by the search request

Format uri

URI to output

Results URI to an Amazon .ion file