Collapse rescore can't be used together

Requirement: there are two kinds of commodities in the commodity pool, one is single specification, the other is multi-specification. I hope that es pagination search will show only one commodity with multiple specifications, and the single specification will display normally. Implementation idea: data deduplication can be implemented with "collapse", and then use "slop" in "rescore" to arrange the nearest word segmentation in the result after de-duplication to the front as far as possible. However, according to the official document of es, "collapse" cannot be used in combination with "rescore". Could you please advise if there is any way to implement this requirement?

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