Filtering search hits based on the presence of other search hits

If my search in the first round returns search hits of a certain type (having an indexed field called "type" set to a specific value) , how can I make the presence of these search hits exclude other search hits which share common properties?

Lets say I have two types of documents, tv-shows and episodes, and when a search would result in hits for both the tv-shows and its episodes, and I want to remove the episode hits if the tv-show was among the results. Is this possible? Right now, no parent-child relationship is defined among these entities in the index.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.