How to increase score for certain products in elasticsearch?

For example, I have several products that have the "tomatoes." When users write it, in the answer all products are sorted by search relevance (keywords) + the number of people who switched to the product. This works well, but there is one caveat. I want that when the user writes "tomatoes", he get products such as "fresh tomatoes", "pink templation tomatoes" - all products that are originally varieties of tomatoes, and after that products made from tomatoes, such as "tomato paste" or "canned tomatoes," even if they have more visits. But if the user writes "tomato paste", then the results with "tomato paste" should be shown first, and only then all the rest