Re: [infinispan-dev] Need help: ISPN-2143

2013-04-12 Thread Manik Surtani
On 12 Apr 2013, at 11:14, Sanne Grinovero wrote: > Thanks Israel! You're very welcome back. > > In mandating the types : > > First problem is you either change the method signature or you need to throw > a runtime exception when the varargs array is empty. > > More importantly, the query tar

Re: [infinispan-dev] Need help: ISPN-2143

2013-04-12 Thread Sanne Grinovero
Thanks Israel! You're very welcome back. In mandating the types : First problem is you either change the method signature or you need to throw a runtime exception when the varargs array is empty. More importantly, the query targets are supposed to be polymorphic and we actually need the list of

Re: [infinispan-dev] Need help: ISPN-2143

2013-04-12 Thread Manik Surtani
Mandating passing in the types in SearchManager.getQuery() won't work? On 11 Apr 2013, at 20:50, Sanne Grinovero wrote: > That's correct. It does not affect only joiners though, there are several > cases: > > - first node starting but having existing data in some CacheStore > - node A does a

Re: [infinispan-dev] Need help: ISPN-2143

2013-04-12 Thread Manik Surtani
Awesome, thanks Israel. On 12 Apr 2013, at 02:46, Israel Lacerra wrote: > Sanne, > > I think I can try. Actually, I would like to continue coding in Infinispan! > The problem is I will probably take a time to do anything (too much work). > > I will watch the issue on Jira. If I solve this bef

Re: [infinispan-dev] Need help: ISPN-2143

2013-04-11 Thread Israel Lacerra
Sanne, I think I can try. Actually, I would like to continue coding in Infinispan! The problem is I will probably take a time to do anything (too much work). I will watch the issue on Jira. If I solve this before someone start to code, I make a pull request. cheers On Thu, Apr 11, 2013 at 4:50

Re: [infinispan-dev] Need help: ISPN-2143

2013-04-11 Thread Sanne Grinovero
That's correct. It does not affect only joiners though, there are several cases: - first node starting but having existing data in some CacheStore - node A does a put with new type, existing node B then runs a query Looks like the easy solution is to store the set of known types as an entry, b

Re: [infinispan-dev] Need help: ISPN-2143

2013-04-11 Thread Manik Surtani
I presume this is to deal with the case when a node joins the cluster (shared index), and someone does a SearchManager.getQuery() without passing in any types? Is that correct? If a type or more than one type is passed in to that method then you don't have this problem, right? - M On 11 Apr

[infinispan-dev] Need help: ISPN-2143

2013-04-11 Thread Sanne Grinovero
This issue has been assigned to me for long, but I'm unable to find time to work on it soon. Still, it's quite an important one, quite annoying it's still open. Any volunteer? Requires a bit of coding in the Query module, but is totally unrelated to Lucene so anyone familiar with Infinispan could