Make sure we allow people to implement simpler use cases for which the indexed value is not an annotated rich domain model but maybe just a String or a Number.
See also https://issues.jboss.org/browse/ISPN-3949