Hi Erick,

if I try the same query without join I get different scores for each hit... here is an example query:

http://localhost:8983/solr/ee/select?facet=true&facet.mincount=1&facet.limit=-1&rows=10&fl=oxid,score,oxtitle&debugQuery=true&start=0&facet.sort=lex&facet.field=oxprice&facet.field=manuseo&facet.field=vendseo&facet.field=catpaths&fac et.field=catpathstok&facet.field=att_EU-Groesse&facet.field=att_Schnitt&facet.field=att_Groesse&facet.field=att_Farbe&facet.field=att_Einsatzbereich&facet.field=att_Material&facet.field=att_Modell&facet.field=att_Anzeige&facet.field=att_Design&facet.field=att_Lieferumfang&facet.field=att_Washing&facet.field=att_Beschaffenheit&qt=dismax&q={!join%20from=oxparentid%20to=oxid}jeans

Anything wrong with that?
Every doc returned has a score of 1.0 with the join.
Without join I get scores between 0.40337953 and 0.40530312.

Thanks,
Stefan

Am 08.03.2013 03:21, schrieb Erick Erickson:
What's the rest of your query? What you've indicated doesn't have any terms
to score. Join can be thought of as a bit like a filter query in this
sense; the fact that the join hit is just an inclusion/exclusion clause,
not a scoring.

Best
Erick


On Thu, Mar 7, 2013 at 10:32 AM, Stefan Moises <moi...@shoptimax.de> wrote:

Hi List,

we are using the JoinQuery (JoinQParserPlugin) via request parameter, e.g.
"{!join from=parentid to=productsid}" in Solr 4.1 which works great for our
purposes, but unfortunately, all docs returned get a score of "1.0"... this
makes the whole search pretty useless imho, since the results are sorted
totally random of course ....
Is there any simple way to fix this or an explanation why this is the case?

Thanks a lot in advance,
Stefan





--
Mit den besten Grüßen aus Nürnberg,
Stefan Moises

*******************************************
Stefan Moises
Senior Softwareentwickler
Leiter Modulentwicklung

shoptimax GmbH
Guntherstraße 45 a
90461 Nürnberg
Amtsgericht Nürnberg HRB 21703
GF Friedrich Schreieck

Fax:  0911/25566-29
moi...@shoptimax.de
http://www.shoptimax.de
*******************************************


Reply via email to