Recipe - Food - Nutrition

FREEMIUM
Verified
Por David | Atualizado hace 21 días | Food
Popularidade

9.9 / 10

Latência

504ms

Nível de serviço

100%

Health Check

N/A

Voltar para todas as discussões

Query for muffins produces small number of results when including butter

Rapid account: Clyon
clyon
hace 8 años

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 hace 8 años

Finally resolved, thanks again for reporting it.

Rapid account: Clyon
clyon Commented hace 8 años

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

Rapid account: Spoonacular
spoonacular Commented hace 8 años

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 hace 8 años

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

Junte-se à discussão - adicione o comentário abaixo:

Efetue login / inscreva-se para postar novos comentários