- How to Search
- What Kind of Data Gets Logged?
How to Search
Searching with gula.recipes is as simple as typing the things that you are searching for. We don’t try to interpret your search, we don’t exclude words that you typed to “augment” the results, we’ll search for anything you type.
If you are looking for recipes with “beans” and “bacon” you can simply type these words (see the results live):
Now if you were looking for recipes with “almond butter” you could just type the words as before and you would notice that there are many results. That’s because we consider every word separately, so the results contain recipes that have almonds and butter as separate ingredients, for example.
You can narrow down you search for “almond butter” by grouping the words:
Notice that the quotes are included. This results in way less matching recipes, which makes it easier to find what you’re looking for.
Let’s say that for some reason you really dislike when people mix almond butter with chocolate, so now instead of including a word you want to exclude it. Easy, you type the following as your search:
"almond butter" -chocolate
And then the results will not contain recipes with chocolate. You can go on adding words and phrases that you want to include/exclude until it matches your preferences.
If, for example, you wanted to find recipes with almonds but excluding things like “almond butter” and “milk” you would search for:
almond -"almond butter" -milk
Filtering and Reordering Results
If you have some restrictions like a particular diet or want to have a finer grained control of what results you are getting (limiting how many ingredients you want to use, for example), you should take a look at the search sidebar.
You may be in a hurry and want something really quick to make. Then you choose to only show recipes with up to 5 ingredients, that are ready in 15 minutes or less and up to 200 kcal: you got it!
Advanced: Extending diet-filtered results
When you restrict you search too much you might end up with too few results. That isn’t a bad thing if you find what you are looking for, but oftentimes diet restrictions make it very difficult to find good recipes, especially because we rely on the original authors flagging that the recipe is valid for a diet.
Resuming our search for recipes super fast to prepare, with almonds but no milk nor “almond butter” and then restricting it to only show recipes for the Keto diet, we’ll get very few results.
That happens a bit too often, so in order to try to find more options,
we can modify the
&diet=keto query parameter a bit. When we find just
a valid diet name (such as “keto”), we interpret it as “search for
recipes that report being part of the keto diet”, but we can tweak
this to mean “search for recipes that might fit the keto diet with a
certain confidence threshold”:
If, instead of using
&diet=keto we use
&diet=keto:0.85 we’re saying
that we want to include results that our AI thinks it belongs to
the category with a confidence level of at least 85%.
Empirically, we see that higher confidence (
0.8 or more) tends to
return recipes that either match perfectly with the selected diet or
are trivial to make it so by replacing/removing an ingredient.
What Kind of Data Gets Logged?
Only telemetry data is logged. The highest granularity is per page metrics, meaning that I know how often a page is visited, but have no information about where my traffic is coming from nor what it is searching for.