[hibernate-dev] [Search] Why is global @AnalyzerDefs scanning limited to @Entity?
hardy at hibernate.org
Fri Jun 21 05:33:28 EDT 2013
On 21 Jan 2013, at 12:17 AM, Guillaume Smet <guillaume.smet at gmail.com> wrote:
> Hi Sanne,
> On Thu, Jun 20, 2013 at 6:45 PM, Sanne Grinovero <sanne at hibernate.org> wrote:
>> Great, so maybe we should just do that.
> Yep, looks like a good idea and would be far cleaner.
+1 once we use Jandex we can fore sure do that.
On the other hand, you are saying that you are using Hibernate Search which means that
you have at last one @Indexed class. Why not add the definitions there? Would that not be a
logical place anyways?
Another thought, I wonder whether you could use the programmatic API to just define the analyser
definition on a non indexed entity?
More information about the hibernate-dev