There is nothing out of the box that doesn't require Java coding.
One way is to develop a custom Similarity.
Or, if you're talking about passing in custom scoring factors with a
query, we might be able to develop something that would be reusable by
everyone.
-Yonik