[hibernate-dev] [Search] Why is global @AnalyzerDefs scanning limited to @Entity?

Guillaume Smet guillaume.smet at gmail.com
Thu Aug 22 05:59:20 EDT 2013


Hi Emmanuel,

On Wed, Aug 21, 2013 at 4:52 PM, Emmanuel Bernard
<emmanuel at hibernate.org> wrote:
> To me the real answer is to the programmatic API and add a
> programmatic mapping factory to your configuration.
>
> See Example 4.28. Use a mapping factory in
> http://docs.jboss.org/hibernate/search/4.4/reference/en-US/html_single/#hsearch-mapping-programmaticapi

Oh, nice. I haven't thought of using this but it looks like a good idea.

Thanks for the tip.

-- 
Guillaume


More information about the hibernate-dev mailing list