Skip to main content
Meili Kitchen

Drupal 11 · Search API · Meilisearch

What are we cooking?

2 recipes 1 ms in Meilisearch

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

POST /multi-search · 2 queries

{
    "q": "vegan dessert",
    "filter": "(cuisine = \"American\" OR cuisine = \"French\")",
    "facets": ["diet", "meal_type"],
    "page": 1,
    "hitsPerPage": 24,
    "attributesToRetrieve": ["search_api_id"],
    "showRankingScore": true,
    "matchingStrategy": "last",
    "attributesToSearchOn": ["body", "ingredients", "tags", "title"],
    "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.
  1. 10 min ★ 4.2

    American · breakfast

    Avocado Toast

    Smashed avocado on sourdough with chili flakes and lemon.

    Vegetarian Vegan

  2. 70 min ★ 4.5

    French · lunch, dinner

    Ratatouille

    Provençal summer vegetables slowly stewed with herbs and olive oil.

    Vegetarian Vegan Gluten-free