Scout extended and repeated items

I’m using Scout extended library which is great to split long records. The problem is when you search, say, the title of a post you get all the parts of that post. any way to filter that to avoid repeated matches?

Hi! You can use the distinct feature to deduplicate items at query time. This works by configuring an attribute which will be the same for all records within the same group, and then at query time only retrieving one record of that collection.

see also