Re: [hibernate-dev] [HSEARCH] Usefulness of index sharing

2015-09-10 Thread Sanne Grinovero
Sanne > > > cheers, > > > Martin Braun > martinbraun...@aol.com > www.github.com/s4ke > > > > > -----Original Message- > From: Gunnar Morling > To: hibernate-dev > Sent: Wed, Aug 12, 2015 4:30 pm > Subject: [hibernate-dev] [HSEARCH] Usefulness of index

Re: [hibernate-dev] [HSEARCH] Usefulness of index sharing

2015-08-13 Thread Sanne Grinovero
On 13 August 2015 at 08:33, Gunnar Morling wrote: > Hi, > > 2015-08-12 17:46 GMT+02:00 Sanne Grinovero : >> That's an interesting proposal, as index sharing inherently implies >> that fields on different types shall not have conflicting mapping >> (i.e. don't reuse the same field name for a differ

Re: [hibernate-dev] [HSEARCH] Usefulness of index sharing

2015-08-13 Thread Gunnar Morling
Thanks for the feedback, Andrej! What kind of sharing is this, the one between types of one inheritance hierarchy we discussed or between unrelated types? In case of the latter, what's the reason that you need this? Would be interested to learn about the use case. --Gunnar 2015-08-12 23:17 GMT+

Re: [hibernate-dev] [HSEARCH] Usefulness of index sharing

2015-08-13 Thread Gunnar Morling
Hi, 2015-08-12 17:46 GMT+02:00 Sanne Grinovero : > That's an interesting proposal, as index sharing inherently implies > that fields on different types shall not have conflicting mapping > (i.e. don't reuse the same field name for a different type). > > By default we don't share indexes across unr

Re: [hibernate-dev] [HSEARCH] Usefulness of index sharing

2015-08-12 Thread Andrej Golovnin
Hi Gunnar, > Should we consider to drop this feature in HS 6? -1, we use it, I think, in at least 3 places in our application. Removing it would make our code more complicated. Best regards, Andrej Golovnin ___ hibernate-dev mailing list hibernate-dev@

Re: [hibernate-dev] [HSEARCH] Usefulness of index sharing

2015-08-12 Thread Sanne Grinovero
That's an interesting proposal, as index sharing inherently implies that fields on different types shall not have conflicting mapping (i.e. don't reuse the same field name for a different type). By default we don't share indexes across unrelated types, but also *by default* subtypes are indexed in

Re: [hibernate-dev] [HSEARCH] Usefulness of index sharing

2015-08-12 Thread Martin Braun
Message- From: Gunnar Morling To: hibernate-dev Sent: Wed, Aug 12, 2015 4:30 pm Subject: [hibernate-dev] [HSEARCH] Usefulness of index sharing Hibernate Search aficionados, I am wondering what that's the rationale for offering the feature of index sharing [1]. The ref guide says "

[hibernate-dev] [HSEARCH] Usefulness of index sharing

2015-08-12 Thread Gunnar Morling
Hibernate Search aficionados, I am wondering what that's the rationale for offering the feature of index sharing [1]. The ref guide says "there is really not much benefit in sharing indexes". It complicates queries, as an additional filter on the type field must be applied in case of targeting on