[hibernate-dev] [HSEARCH] Proposal to change the default value of Field#norms()

Guillaume Smet guillaume.smet at gmail.com
Tue May 8 08:08:31 EDT 2012


On Tue, May 8, 2012 at 12:27 PM, Sanne Grinovero <sanne at 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


More information about the hibernate-dev mailing list