lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cai xingliang <caixingli...@gmail.com>
Subject Re: How to get the join data by multiple cores?
Date Thu, 22 Oct 2015 05:36:33 GMT
{!join fromIndex=parent from=id to=parent_id}tag:hoge

That should work.
On Oct 22, 2015 12:35 PM, "Shuhei Suzuki" <hum2.dmg@gmail.com> wrote:

> hello,
> What can I do to throw a query such as the following in Solr?
>
>  SELECT
>   child. *, parent. *
>  FROM child
>  JOIN parent
>  WHERE child.parent_id = parent.id AND parent.tag = 'hoge'`
>
> child and parent is not that parent is more than in a many-to-one
> relationship.
> I try this but can not.
>
>  /select/?q={!join from=parent_id to=id fromIndex=parent}id:1+tag:hoge
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/How-to-get-the-join-data-by-multiple-cores-tp4235799.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message