Doug Turnbull wrote: > I'm not sure if you mean organizing function queries under the hood in a > query component or externally. > > Externally, I've always followed John Berryman's great advice for working > with Solr when dealing with complex/reusable function queries and boosts > http://opensourceconnections.com/blog/2013/11/22/parameterizing-and-organizing-solr-boosts/ Very very cute indeed.
However, I think I need it internally. You're making me doubt. Do I understand properly that this boost parameter is just operating a power overall on the query? My current expansion expands from the user-query to the +user-query favouring-query-depending-other-params overall-favoring-query (where the overall-favoring-query could be computed as a function). With the boost parameter, i'd do: (+user-query favouring-query-depending-other-params)^boost-function Not exactly the same or? thanks Paul