lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kranti Parisa <kranti.par...@gmail.com>
Subject Re: Join Queries Scores broken?
Date Wed, 29 May 2013 14:18:37 GMT
Hi David,

Initially I posted it on solr-user list and didn't get any reply.
I shall try your approach.

Thanks & Regards,
Kranti K Parisa
http://www.linkedin.com/in/krantiparisa



On Sun, May 26, 2013 at 10:19 PM, David Smiley (@MITRE.org) <
DSMILEY@mitre.org> wrote:

> 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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

Mime
View raw message