Recipe - Food - Nutrition

फ्रीमियम
Verified
द्वारा David | अपडेट किया गया 21일 전 | Food
लोकप्रियता

9.9 / 10

लेटेंसी

504ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

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.

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें