Hi Kranti,

I think this post belongs on the solr-user list.  Any way, Solr join queries
don't score.  Filter queries don't score either so even if join queries did,
using them in a filter query wouldn't help.  For what it's worth, I
implemented a Solr scoring join query for a customer by basing it off of
scoring join query code in Lucene's "join" module.  You could do the same. 
My requirements were more extensive but if all I needed was a working
scoring join query, then there isn't that much to it.

Cheers,
  David


Krantiā„¢ K K Parisa wrote
> Hi,
> 
> I am trying to score/rank the results based on the boosting values
> specified with the Join queries.
> 
> Example:
> http://localhost:8983/solr/masterCore/select?q=a*&fq=(({!join
> fromIndex=childCore1
> from=parentId to=id v=$subQ1}) OR ({!join fromIndex=childCore2
> from=authorId to=id
> v=$subQ2}))&subQ1=(name:xyz^100)&subQ2=(author:xyz)&fl=id,score
> 
> So the matching documents from first join query should be getting higher
> score than the ones from the second join query.
> 
> But it is not working as expected, do I need to specify any other
> parameters? if it's an issue, shall I create a Jira ticket?
> Thanks & Regards,
> Kranti K Parisa
> http://www.linkedin.com/in/krantiparisa





-----
 Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Join-Queries-Scores-broken-tp4065827p4066180.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to