Throw an exception when the document ID turns out to be non-unique when loading entities during a search query

Description

We used to do this in Search 5, and it seems helpful.

Environment

None

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Major
Configure