[bug 904554] Add boosts for document queries