Re: SOLR4 (sharded) and join query

2012-12-09 Thread Yonik Seeley
On Thu, Dec 6, 2012 at 6:47 PM, Erick Erickson erickerick...@gmail.com wrote:
 see: http://wiki.apache.org/solr/DistributedSearch

 joins aren't supported in distributed search. Any time you have more than
 one shard in SolrCloud, you are, by definition, doing distributed search.

It is supported, but there is a limitation:  You can use joins, but
those joins will each be calculated locally per-shard based on common
terms within the same shard.

And you can ensure that certain sets of related documents appear on
the same shard with the new document routing feature:
https://issues.apache.org/jira/browse/SOLR-2592

-Yonik
http://lucidworks.com


Re: SOLR4 (sharded) and join query

2012-12-06 Thread Erick Erickson
see: http://wiki.apache.org/solr/DistributedSearch

joins aren't supported in distributed search. Any time you have more than
one shard in SolrCloud, you are, by definition, doing distributed search.

Best
Erick


On Wed, Dec 5, 2012 at 10:16 AM, adm1n evgeni.evg...@gmail.com wrote:

 Hi,

 I'm running some join query, let's say it looks as follows: {!join
 from=some_id to=another_id}(a_id:55 AND some_type_id:3). When I run it on
 single instance of SOLR I got the correct result, but when I'm running it
 on
 the sharded system (2 shards with replica for each shard (total index
 counts
 ~300K entries)) I got partial result.

 Is there any issue with supporting join queries on sharded system or may be
 there is some configuration tweak, that I'm missing?


 Thanlks.



 --
 View this message in context:
 http://lucene.472066.n3.nabble.com/SOLR4-sharded-and-join-query-tp4024547.html
 Sent from the Solr - User mailing list archive at Nabble.com.



SOLR4 (sharded) and join query

2012-12-05 Thread adm1n
Hi,

I'm running some join query, let's say it looks as follows: {!join
from=some_id to=another_id}(a_id:55 AND some_type_id:3). When I run it on
single instance of SOLR I got the correct result, but when I'm running it on
the sharded system (2 shards with replica for each shard (total index counts
~300K entries)) I got partial result.

Is there any issue with supporting join queries on sharded system or may be
there is some configuration tweak, that I'm missing?


Thanlks.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/SOLR4-sharded-and-join-query-tp4024547.html
Sent from the Solr - User mailing list archive at Nabble.com.