On Tue, May 8, 2012 at 12:27 PM, Sanne Grinovero <sanne(a)hibernate.org> wrote:
Proposal for next versions: allow @Stereotype - like user
annotations?
We would let the user define custom annotations to stack/combine
multiple framework annotations, possibly centralizing what the
"default" is for your app and reduce the amount of code people have to
pile on each getter.
I think it's reasonable to think that many user types are reused
multiple times in a real world application having many entities, and
likely want them to be indexed all in the same way.
It sure looks like a good idea.
We usually have only 3 differents types of field in our applications:
text, keyword and a specific fieldbridge to index only the id of an
element/collection of elements (it was before @IndexEmbedded was made
clever).
--
Guillaume