Re: Query time join with conditions

2014-01-16 Thread Kranti Parisa
cool, np. Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Thu, Jan 16, 2014 at 11:30 AM, heaven wrote: > Nvm, figured it out. > > To match profiles that have "test entry" in own attributes or in related > rss > entries it is possible to use ({!join from=profile_ids_im to=i

Re: Query time join with conditions

2014-01-16 Thread heaven
Nvm, figured it out. To match profiles that have "test entry" in own attributes or in related rss entries it is possible to use ({!join from=profile_ids_im to=id_i v=$rssQuery}Test entry) OR Test entry in "q" parameter, not in "fq". Thanks again for the help, Alex -- View this message in conte

Re: Query time join with conditions

2014-01-16 Thread heaven
Hi, thanks for the response. Seems almost figured things out. Since both Profiles and RssEntries are in the same index (same core), it is possible to either use `v=` param or specify `type:RssEntry` right after the closing `}`. Both will work: {!join from=profile_ids_im to=id_i}type:RssEntry or {!

Re: Query time join with conditions

2014-01-14 Thread Kranti Parisa
you should be able to do the following /ProfileCore/select?q=*:*&fq={!join fromIndex=RssCore from=profile_id to=id v=$rssQuery}&rssQuery=(type:'RssEntry') There is also a new join impl https://issues.apache.org/jira/browse/SOLR-4787 which allows you to use fq within join, which will support Nested

Re: Query time join with conditions

2014-01-14 Thread heaven
Can someone shed some light on this? -- View this message in context: http://lucene.472066.n3.nabble.com/Query-time-join-with-conditions-tp4108365p4111300.html Sent from the Solr - User mailing list archive at Nabble.com.