Skip to main content
Meili Kitchen

Drupal 11 · Search API · Meilisearch

What are we cooking?

3 recipes 1 ms in Meilisearch

Views and Search API built this search; drupal/meilisearch sent it as:

POST /multi-search · 2 queries

{
    "q": "",
    "filter": "((cuisine = \"Indian\" OR cuisine = \"Moroccan\") AND meal_type = \"Snack\")",
    "facets": ["diet", "meal_type"],
    "page": 1,
    "hitsPerPage": 24,
    "attributesToRetrieve": ["search_api_id"],
    "showRankingScore": true,
    "matchingStrategy": "last",
    "attributesToHighlight": ["title", "body", "ingredients"],
    "highlightPreTag": "\ue000",
    "highlightPostTag": "\ue001",
    "attributesToCrop": ["title", "body", "ingredients"],
    "cropLength": 18,
    "cropMarker": "…"
}
  • + Cuisine counts for the OR facet: the same search without the cuisine filter, so the other values keep their counts. Filter: meal_type = "Snack"
  1. 40 min ★ 4.4

    Moroccan · snack, lunch

    Zaalouk

    A smoky cooked eggplant and tomato salad with cumin and paprika.

    Vegetarian Vegan Gluten-free

  2. 60 min ★ 4.6

    Indian · snack

    Samosas

    Flaky pastry triangles stuffed with spiced potatoes and peas.

    Vegetarian Vegan

  3. 60 min ★ 4.4

    Moroccan · breakfast, snack

    Msemen

    Square, flaky pan-fried flatbreads, delicious with honey.

    Vegetarian Vegan