Scoring subdocuments

Hi there! Can someone tell be how to change the score/weight of different value of db and not fields? Thank you