Separate 2 oz and 20 oz search highlighting results?

Hi All,

I’m facing an issue where based on highlighting in search, a query for ‘2 oz containers’ will show mixed results for 2 oz containers, 20 oz containers, even if products has 200 ml in its title. I would like to show just 2 oz. containers and not these other sizes for that specific query.

I have tried a boosting rule that would boost by category, capacity of 2 oz, prompted by the query, and it works well. But I am looking for a solution that would not require me to make a boosting rule for every capacity in our product selection.

If anyone has any knowledge, tips, or solutions relating to this issue, please share! :slight_smile: Thank you!