Forum

Welcome Guest! You can not login or register.

Notification

Icon
Error

Filter recipe searches for more than one item   Go to last post Go to last unread
#1 Posted : Sunday, July 28, 2024 2:13:12 AM(UTC)

How do I search for a recipe using OR logic, rather than AND? For example, if I want a recipe that is either Italian OR Indian, selecting European eliminates all Asia from the filters (and vice versa). How do I make multiple selections?

#2 Posted : Sunday, July 28, 2024 6:30:08 AM(UTC)

Hello! You can use OR directly in the search box, exclude items using minus sign, and also using the filters, you can transform the plus into a minus to exclude items from the search


This is all in the help section : 


https://support.eatyourb...ing-Boolean-search-terms


https://support.eatyourb...Using-the-search-filters


 

#3 Posted : Sunday, July 28, 2024 8:42:32 AM(UTC)

Thanks,  but using OR in the search box doesn't work. If you search EYB library for Indian OR Italian, you get five results. If you search for Indian, you get 1300 ish results, if you search for Italian you get about 2300 results, so searching for Indian OR Italian should yield 3600 results. Why do I only get five? 

#4 Posted : Sunday, July 28, 2024 9:42:49 AM(UTC)

I think one confusion here is the difference between word search and using filters. The word search in the green box looks for the word in the recipe title, book title, author name or ingredients. It is not looking for the word in the filter category tags. If you are searching by Indian in word search you are seeing recipes with Indian in the recipe name, book title or with ingredients with Indian in the name. That is not the same as applying the Indian filter tag, which gives every recipe that is Indian in origin and has had the tag applied by our indexers. The same applies to Italian. So when looking for recipes with an ethnicity it is much better to use filters.


But that doesn't help your particular request as filters are AND not OR - if you enter more than one filter you see recipes that contain both filters not either filter. The Boolean word search using OR should resolve that (though as I explained above it's not a good search for ethnicity) but it doesn't seem to be working so I will get our developers to take a look.

#5 Posted : Sunday, July 28, 2024 10:43:42 AM(UTC)

Thanks. I tried another example. I wanted recipes containing either lamb or prawns. Using the search box, I got four results (from my library) and using the filters also brings up four results. I have >30000 recipes and there are definitely more than four which contain either lamb or prawns. It would be great to be able to search for alternative recipes for ingredients that you have in your freezer or cupboard. 

#6 Posted : Sunday, July 28, 2024 4:07:07 PM(UTC)
Thanks, Maxineanna, Agaillard and Jane for this discussion. I feel sure I was once able to search for ingredients using OR but then it stopped working for me some time ago. I'm grateful those brilliant developers are taking a look.
#7 Posted : Monday, July 29, 2024 3:09:55 AM(UTC)

Thank you for raising this - it has been a source of frustration for me as I'd often like to search using OR. I can't wait for it to be fixed.

#8 Posted : Monday, July 29, 2024 12:24:03 PM(UTC)
Perhaps we can have check boxes for AND/OR, like we have for Exclude?
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.