: Now I need to know whether the FunctionQuery result is considered during : the results sorting. That is, are search results sorted according to the : sum of the similarity and the FunctionQuery value or according to : similarity only?
a function query in a larger query contributes to the score just like any other clause ... if you sort by score, you are sorting by the *whole* score ... if you sort by some other field then the *whole* score is irrelevant. -Hoss