On 20 Jan 2013, at 6:22 PM, Guillaume Smet <guillaume.smet(a)gmail.com> wrote:
We would like to declare our global @AnalyzerDefs on a class which
isn't a specific entity.
For the @TypeDefs of Hibernate, we do it by declaring the @TypeDefs on
a class annotated with @MappedSuperClass but with @AnalyzerDefs, we
are forced to declare them on a concrete @Entity.
On an @Entity? Don't you mean @Indexed?
@Entity is a JPA annotation and @AnalyzerDefs is Hibernate Search annotation.
We don't process (except @Id) JPA annotations in Search.