Re: [hibernate-dev] [SEARCH] @Indexed on abstract classes

2012-05-14 Thread Guillaume Smet
On Sat, May 12, 2012 at 12:39 PM, Emmanuel Bernard wrote: > 10-20 seconds? For how many classes in your app ?! Probably quite a lot because it scans the whole classpath but nothing weird as our applications are "just" Spring-*/Hibernate-*/Wicket applications. The scan in Tomcat isn't really opti

Re: [hibernate-dev] [SEARCH] @Indexed on abstract classes

2012-05-12 Thread Emmanuel Bernard
On 12 mai 2012, at 11:12, Guillaume Smet wrote: >> That would go counter to the JPA design I think and to be honest, I like the >> idea of being able to not index a given branch of a class hierarchy. >> But more importantly, you would require Hibernate Search to scan for all >> subclasses in th

Re: [hibernate-dev] [SEARCH] @Indexed on abstract classes

2012-05-12 Thread Emmanuel Bernard
On 12 mai 2012, at 12:28, Hardy Ferentschik wrote: > >>> Scratch your own :) itch https://hibernate.onjira.com/browse/HSEARCH-703 >>> This is an issue that has been opened for a while but not addressed by like >>> of motivated contributors. The solution is fairly simple at first sight. >> >> F

Re: [hibernate-dev] [SEARCH] @Indexed on abstract classes

2012-05-12 Thread Hardy Ferentschik
>> Scratch your own :) itch https://hibernate.onjira.com/browse/HSEARCH-703 >> This is an issue that has been opened for a while but not addressed by like >> of motivated contributors. The solution is fairly simple at first sight. > > Fair enough. I'll give it a try in the next few days. Now th

Re: [hibernate-dev] [SEARCH] @Indexed on abstract classes

2012-05-12 Thread Guillaume Smet
On Sat, May 12, 2012 at 10:51 AM, Emmanuel Bernard wrote: > That would go counter to the JPA design I think and to be honest, I like the > idea of being able to not index a given branch of a class hierarchy. > But more importantly, you would require Hibernate Search to scan for all > subclasses

Re: [hibernate-dev] [SEARCH] @Indexed on abstract classes

2012-05-12 Thread Emmanuel Bernard
On 10 mai 2012, at 08:49, Guillaume Smet wrote: > Hi Search team, > > I have this question for a long time but, this time, having 30 (and > growing) indexed entities inheriting from an abstract class, I thought > I might as well ask about it... > > Is there any reason why we can't set the @Inde

[hibernate-dev] [SEARCH] @Indexed on abstract classes

2012-05-09 Thread Guillaume Smet
Hi Search team, I have this question for a long time but, this time, having 30 (and growing) indexed entities inheriting from an abstract class, I thought I might as well ask about it... Is there any reason why we can't set the @Indexed annotation on the abstract class to get all the implementati