Re: How to self join a collection with SOLR and have another condition

2016-05-11 Thread Mikhail Khludnev
..&fq=aaa:1 bbb:2&.. On Wed, May 11, 2016 at 11:34 PM, baggadonuts wrote: > Refer to the following documentation: https://wiki.apache.org/solr/Join > > According to the documentation the SOLR equivalent of this SQL query: > > SELECT xxx, yyy > FROM collection1 > WHERE outer_id IN (SE

Re: How to self join a collection with SOLR and have another condition

2016-05-11 Thread Dennis Gove
If you're able to use Solr 6 then you can use Streaming Expressions to solve this. The docs for Streaming Expressions in Solr 6 can be found at https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=61330338. One option would be to use an intersect to find documents in both sets. inters