SearchException, AssertionFailure, EventContext, common.function etc. are all currently located in the hibernate-search-util-internal-common module, in a public package. This doesn't make much sense, let's try to reorganize this.
While we’re at it, we should probably try to go back to the same packages as in Search 5, in particular for SearchException. There’s no good reason not to.