You could use index-time per-field boost, like so:
<add>
<doc>
<field name="URL">stackoverflow.com</field>
<field name="tag" boost="11.0">html</field>
<field name="tag" boost="9.0">php</field>
</doc>
</add>
The documentation is available here.