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

2013-06-21 Thread Hardy Ferentschik
On 21 Jan 2013, at 12:17 AM, Guillaume Smet wrote: > Hi Sanne, > > On Thu, Jun 20, 2013 at 6:45 PM, Sanne Grinovero 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,

Re: [hibernate-dev] DocumentBuilder refactoring in Hibernate Search: how to deal (internally) with metadata

2013-06-21 Thread Hardy Ferentschik
> I'm sorry I now realize I made it hard to understand as I didn't > actually explain how I mean this to be recursive. > > First, note that another frequently requested feature is to be able to > add some fields to a Document *in addition* to what we would normally > do. > Today this flexibility

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

2013-06-21 Thread Sanne Grinovero
I've actually found a flaw in my suggestion: a scan of all user provided classes might not be desirable. For one, someone might have some unintended dependencies which happen to include such an @AnalyzerDef, which could conflict with some definition name being used elsewhere and this is not always

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

2013-06-21 Thread Guillaume Smet
On Fri, Jun 21, 2013 at 12:17 PM, Sanne Grinovero wrote: > Guillaume, could you clarify the use case once more? I am assuming it > was all about a cleaner code organization; in that case wouldn't it be > enough to specify a single class to be scanned for the global analyzer > definitions? You ass

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

2013-06-21 Thread Guillaume Smet
On Fri, Jun 21, 2013 at 2:35 PM, Hardy Ferentschik wrote: > Again, I still don't see the connection between @Entity and @AnalyzerDefs. > How does you library look like and what do you want to provide. Can you > provide > an example. Does your library contain an indexed type? Are you using Search

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

2013-06-21 Thread Hardy Ferentschik
On 21 Jan 2013, at 2:26 PM, Guillaume Smet wrote: > On Fri, Jun 21, 2013 at 12:17 PM, Sanne Grinovero wrote: >> Guillaume, could you clarify the use case once more? I am assuming it >> was all about a cleaner code organization; in that case wouldn't it be >> enough to specify a single class to

[hibernate-dev] Hibernate in the JBoss Community Recognition Awards

2013-06-21 Thread Brett Meyer
The Hibernate community has multiple contributors nominated for the 2013 JBoss Community Recognition Awards. Please take a moment and vote! https://www.jboss.org/jbcra/vote.html From the nomination introductions, in no particular order: Guillaume Smet - Guillaume Smet has been thoroughly testi