Saturday, March 17, 2018

FW: LTR - OriginalScore query issue

-----Original Message-----
From: ilayaraja [mailto:ilay.msp@gmail.com]
Sent: 15 March 2018 17:02
To: solr-user@lucene.apache.org
Subject: LTR - OriginalScore query issue

solr/collection/select?fl=id,score,[features+store=myFeatureStore+efi.user_q
uery='black
shoes']&wt=json&q=id:"13245336"&debugQuery=on

When we fire this query during feature extraction, the originalScore feature
gets the score of the "id" match but not the actual user query which is in
this case 'black shoes'.

The feature definition is in features.json:
{
"name":"originalScore",
"class":"org.apache.solr.ltr.feature.OriginalScoreFeature",
"params":null,
"store":"myFeatureStore"}

Is it the expected behaviour? I do not watch the tf/idf score for matching
the id, rather I would want to match score for the query w.r.t. that item.




-----
--Ilay
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

No comments:

Post a Comment