Support for function score queries with single function