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 = \"Thai\" AND (diet = \"Gluten-free\" AND diet = \"Vegetarian\"))",
    "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: (diet = "Gluten-free" AND diet = "Vegetarian")
  1. 40 min ★ 4.8

    Thai · dessert

    Mango Sticky Rice

    Sweet coconut sticky rice with ripe mango slices.

    Vegetarian Vegan Gluten-free

  2. 30 min ★ 4.4

    Thai · dinner

    Tofu Red Curry

    Golden tofu and vegetables in a spicy red coconut curry.

    Vegetarian Vegan Gluten-free

  3. 10 min ★ 4.5

    Thai · drink

    Thai Iced Tea

    Strong spiced tea poured over ice with sweetened condensed milk.

    Vegetarian Gluten-free