: I am using edismax and boosting certain fields using bq during query time.
: 
: I would like to compare effect of boost side by side with original score
: without boost. Is there anyway i can get original score without boosting?

using functions and DocTransformers, it's possible to get the numeric 
score of any arbitrary query as a psuedo field.

if you are using e/dismax and you would like to see the scores a document 
would have gotten w/o "bq" or "boost" boosting, you need to specify the 
query twice -- once for the main query with the boost, and once as part of 
the field list w/o the boost.

Using LocalParams in which you override specific params (like bq) can make 
this a bit easier to express...

http://localhost:8983/solr/select?q=video&qf=text+name^2&defType=edismax&bq=name:ati^200&fl=id,name,score,no_boost_score:query%28$alt%29&alt={!edismax%20bq=%27%27%20v=$q}&debug=true&debug.explain.structured=true


-Hoss

Reply via email to