Re: Solr join + Boost in single query

2015-03-04 Thread Mikhail Khludnev
if I get you right, "union" query can be achieved by SHOULD clauses: q=foo {!scorejoin fromIndex=2nd}bar On Wed, Mar 4, 2015 at 4:16 PM, sraav wrote: > Yes Mikhail. Similar to the one you mentioned. The only difference is that, > in my case a uinon between two cores would work too.. > > > > --

Re: Solr join + Boost in single query

2015-03-04 Thread sraav
Yes Mikhail. Similar to the one you mentioned. The only difference is that, in my case a uinon between two cores would work too.. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-join-Boost-in-single-query-tp4190825p4190911.html Sent from the Solr - User mailing list arc

Re: Solr join + Boost in single query

2015-03-03 Thread Mikhail Khludnev
sounds like https://issues.apache.org/jira/browse/SOLR-6234 ? doesn't it? On Wed, Mar 4, 2015 at 3:40 AM, sraav wrote: > David, > > Is it possible to write a query to join two cores and either bring back > data > from the two cores or to boost on the data coming back from either of the > cores?

Re: Solr join + Boost in single query

2015-03-03 Thread sraav
Eric, I am trying to boost the fields that match both the cores to the top of the list. Or atleast get a union of the two cores. Thanks, Raavi -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-join-Boost-in-single-query-tp4190825p4190861.html Sent from the Solr - User

Re: Solr join + Boost in single query

2015-03-03 Thread sraav
Or do you think there is a way to do a union between the two cores? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-join-Boost-in-single-query-tp4190825p4190860.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr join + Boost in single query

2015-03-03 Thread Erick Erickson
This seems very much like it may be an "XY" problem. >From Hossman's apache page: Your question appears to be an "XY Problem" ... that is: you are dealing with "X", you are assuming "Y" will help you, and you are asking about "Y" without giving more details about the "X" so that we can understand

Re: Solr join + Boost in single query

2015-03-03 Thread sraav
David, Thank you for the reply. How about boosting on the records that match the both the cores or may be boosting on join may be? Is there a way we can do that? Raav -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-join-Boost-in-single-query-tp4190825p4190852.html S

Re: Solr join + Boost in single query

2015-03-03 Thread David Smiley
No, not without writing something custom anyway. It'd be difficult to make it fast if there's a lot of documents to join on. sraav wrote > David, > > Is it possible to write a query to join two cores and either bring back > data from the two cores or to boost on the data coming back from either