I have trimmed down my issue to this minimal use case. Say I have a document type fruits:
What I would like to be able to do (but can't seem to figure out) is boost the flavourScore if the pricePerKg is in a a range, say 8-10/kg, but not otherwise. I'm pretty sure this is possible - the abstract question would be:
Boost field A if the value of field B falls within a numeric range.
Any help (especially a sample query DSL) or insight greatly appreciated!