One problem down, two left!  =)  bf ==> bq did the trick, thanks.  Now at
least if I can't get the DIH solution working I don't have to tack that on
every query string.

Taking the quotes away from $docBoost results in a syntax error.  Needs to
be quoted.

Changed it up to this and still no luck

var rank = row.get('rank');                             
switch (rank) {
        case 1: 
                row.put("$docBoost",3.0);                               
                break;
        case 2: 
                row.put("$docBoost",2.6);                               
                break;
        case 3:
                row.put("$docBoost",2.2);                                       
                                
                break;
        case 4: 
                row.put("$docBoost",1.8);                               
                break;
        case 5: 
                row.put("$docBoost",1.5);                               
                break;
        case 6: 
                row.put("$docBoost",1.2);                               
                break;
        case 7:
                row.put("$docBoost",0.9);                               
                break;
        case 8: 
                row.put("$docBoost",0.7);                               
                break;
        case 9: 
                row.put("$docBoost",0.5);                               
                break;
        default:
                row.put("$docBoost",0.1);                               
}       



And still can't figure out what I need to do with my dismax querying to get
scores for quality of match.  Thoughts?


-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Document-boosting-troubles-tp902982p903638.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to