 Search
Search
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"Examples
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
Index of the collection you want to perform a search on
query string
Search Query
Query performed to search on a specific collection
Outputs
totalHits integer
Hits number
Number of items hit by the search request
uri string
 Format 
uriURI to output
Results URI to an Amazon .ion file