: In this value source I compute another score for every document : using some features. I want to access the score of the query myField^2 : (for a given document) in this same value source. : : Ideas?
your ValueSource can wrap the score from the other query using a QueryValueSource. just keep in mind that by definition function queries "match" every document in the index, so you'll still need to use the other query in some way (or use somehting like the "frange" parser to constrain the set of docs returned based on a range of values produced by your function) -Hoss