Re: [hibernate-dev] [HSEARCH] Dynamic Sharding and directory template

2013-04-12 Thread Emmanuel Bernard
Hiding behind a long and deep email won't hide the fact that you have not answered my question :) More inline. On Thu 2013-04-11 17:47, Sanne Grinovero wrote: > Man your simple question is actually super complex. > > Conclusion first: I think it's important we can always identify any > index jus

Re: [hibernate-dev] [HSEARCH] Dynamic Sharding and directory template

2013-04-11 Thread Sanne Grinovero
Man your simple question is actually super complex. Conclusion first: I think it's important we can always identify any index just with a simple String, but you're very welcome to add some kind of register indexName -> StuffWeKnowAboutIt. This has been biting in several forms. Let's recap the dif

Re: [hibernate-dev] [HSEARCH] Dynamic Sharding and directory template

2013-04-11 Thread Nicolas Helleringer
IMHO passing the shard identifier in the Properties entries is a weak solution in long term. I shall prefer breaking SPI but no rational thoughts to back my out of the box opinion. Niko 2013/4/11 Emmanuel Bernard : > I am currently working on a solution for dynamically adding new shards > to Hib

[hibernate-dev] [HSEARCH] Dynamic Sharding and directory template

2013-04-11 Thread Emmanuel Bernard
I am currently working on a solution for dynamically adding new shards to Hibernate Search (for example one per tenant with a list growing). https://hibernate.atlassian.net/browse/HSEARCH-472 Things are going well but there is an interesting problem related to a subsequent feature https://hibern