Re: Join across cores on same shard.

2013-02-02 Thread Yonik Seeley
On Sat, Feb 2, 2013 at 5:49 AM, Marcin Rzewucki wrote: > I meant I get fields from parent core only. Is it possible to get fields > from both cores using join query? Not yet. Joins are currently only for filtering. -Yonik http://lucidworks.com

Re: Join across cores on same shard.

2013-02-02 Thread Marcin Rzewucki
I meant I get fields from parent core only. Is it possible to get fields from both cores using join query? On 1 February 2013 23:36, Marcin Rzewucki wrote: > Thanks Yonik. I see no errors now. Is it possible to get fields from both > cores for returned results ? > > > > On 1 February 2013 21:53,

Re: Join across cores on same shard.

2013-02-01 Thread Marcin Rzewucki
Thanks Yonik. I see no errors now. Is it possible to get fields from both cores for returned results ? On 1 February 2013 21:53, Yonik Seeley wrote: > You're missing the query to do the join on: > > fq={!join from=parent_id to=child_id fromIndex=core2}*:* > > We should have a better error messa

Re: Join across cores on same shard.

2013-02-01 Thread Yonik Seeley
You're missing the query to do the join on: fq={!join from=parent_id to=child_id fromIndex=core2}*:* We should have a better error message rather than a NPE of course... -Yonik http://lucidworks.com On Fri, Feb 1, 2013 at 3:45 PM, Marcin Rzewucki wrote: > Check below if that's better for you:

Re: Join across cores on same shard.

2013-02-01 Thread Marcin Rzewucki
Check below if that's better for you: http://pastebin.com/ardqNcC7 On 1 February 2013 21:25, Marcin Rzewucki wrote: > Hi, > > I was trying to join documents across cores on same shard in SolrCloud4.1 > and I got this error: > > java.lang.NullPointerException at > org.apache.solr.search.JoinQuer