Is there a way that Algolia could filter the repetitive hits?

Hi everyone!

To illustrate my point, I have a collection and index where I store all my recipes.

The issue is that in the same index I want to have multiple recipes that are the “same” with same name, ingredients except different quantities (one has 100g of rice, other has 110g).

  {name: "Jerk with rice", ingredients: {}, calories: 400, parentId: 103 }
  {name: "Jerk with rice", ingredients: {}, calories: 410, parentId: 103 }
  {name: "Jerk with rice", ingredients: {}, calories: 415, parentId: 103 }
  {name: "Jerk with rice", ingredients: {}, calories: 410, parentId: 207 }

So even if user narrows down his range from 400 calories to 420, he will still get 2 irrelevant results.

Is there a way to generate outcome like:

Filter all recipes that have repetitive parentId numbers