Recipe - Food - Nutrition

FREEMIUM
Verified
Par David | Mise à jour 21日前 | Food
Popularité

9.9 / 10

Latence

504ms

Niveau de service

100%

Health Check

N/A

Retour à toutes les discussions

Query for muffins produces small number of results when including butter

Rapid account: Clyon
clyon
8年前

This query yields several results: /searchComplex?excludeIngredients=carrots&query=morning+glory+muffins

But this gives only one: /recipes/searchComplex?excludeIngredients=carrots&query=morning+glory+muffins&includeIngredients=butter

And plainly there are other recipes that might have been valid to include - by looking at the ingredient list for those that didn’t come back we can find some, e.g.: /recipes/564538/analyzedInstructions

Shouldn’t the inclusion of butter produce at least all the recipes from the first query that have butter as an ingredient?

Rapid account: Spoonacular
spoonacular Commented 8年前

Finally resolved, thanks again for reporting it.

Rapid account: Clyon
clyon Commented 8年前

Thanks! Not urgent. Just writing up issues as I come across them.

Rapid account: Spoonacular
spoonacular Commented 8年前

Seems like 5 results should be returned. If you use the natural language search (“morning glory muffins with butter” as query) and ignore all the other fields you get better results: https://spoonacular.com/morning+glory+muffins+with+butter

Of course, the way you queried should return the same 5 muffins, not only 3. I will look further into the issue but you can use that workaround above if you need a fix urgently.

Rapid account: Spoonacular
spoonacular Commented 8年前

I think your interpretation is correct, I’ll investigate.

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires