using DIH you can boost the whole doc, not a specific field, as documented here.
But if you intend to boost a field, like title, this is easy to do on query time, in fact it is easier to do, and to change too. Why do you want to do it at index time, any special reason?