Increasing Importance of Words

Hey All,

I’m curious the best way to increase the importance of a specific word in my queries. I have a client that DOES NOT currently have any vegan recipes or products marked up in Knowledge Graph but if you search for Vegan it does return results.

“Vegan only recipes” was the query made and it seems that the importance was put on recipes and not vegan. Happy to provide an example over slack to keep the client confidential.

Best,
Khari

Hey Khari - it sounds like what’s happening is that the algorithm is detecting an NLP filter on recipes. But then it isn’t finding any matches beyond that, because there are no vegan recipes, so it ends up just showing all recipes.

I think the best thing to do here would be to write a query rule to RETURN_NO_RESULTS for this particular query, or perhaps all queries containing the word “vegan”.

You can read more about this in the Action - Return no Results module.