Is it possible to specify an additive boost for a set of documents (given a set of document ids) at query time for the extended dismax handler?
I was planning to use bq with an OR'ed list of ids but apparently bq's boost is not additive.
I think query elevation may help :http://wiki.apache.org/solr/QueryElevationComponent
Look into : forceElevation
By default, this component respects the requested 'sort' parameter -- that is, if the request asks to sort by date, it will order the results by date. If forceElevation=true, results will first return the boosted docs, then order by date.
Have elevate.xml
<elevate>
<query text="AAA">
<doc id="A" />
<doc id="B" />
</query>
<query text="ipod">
<doc id="A" />
<!-- you can optionally exclude documents from a query result -->
<doc id="B" exclude="true" />
</query>
</elevate>