We could also change one point dramatically: with Infinispan Query
the
reason for it to need adding new types "on the fly" is just because
there is no reasonable solution for a full annotation scanning. But
having this we might be able to simplify some code in Search by
actually expecting to have a comprehensive list of types at bootstrap
through Jandex, then we can remove some of the code to do "on the fly"
type registration.
Interesting idea. Something like this should be possible.
--Hardy