: Note that the dismax handler already has facilities for doing many of : the tasks you require. For instance, arbitrary "boost queries" can be : added to a query to tweak relevance. You can specify a set of fields : with varying boosts over which a term will be searched, with a : corresponding set of fields for phrase queries.
yep, using the dismax handler, this would give you something close to what you describe... q=foo+bar&qf=title^2+body^1&pf=title+body&mm=1000&bq=hasComment:1&bf=rating -Hoss