Higher score to (boost) documents carrying a certain field value

That is the purpose of track_scores. Lucene will not score documents if
they are not used as the primary sort.

The sort method is the right way to go for this use case. I added the side
note about function score queries since you mentioned using boosts in
boolean queries. I find function scores incredibly useful and are an
excellent way to influence behavior.