Random_score always returns 0

Hi,
I was having problems combining random_score with other scoring functions,
until I noticed using the "explain" feature that apparently random_score
always returns 0, no matter the seed or document.
Here is some more info:

    "query": {
        "function_score": {

            "functions": [

                {

                    "random_score" : {

                    }

                }

            ]

        }

    }

Explain always gives this for the random_score function:

{"value":0.0,"description":"random score function (seed: -830865530)"}

I've tried many variations and different seeds, but the result is always
the same.
Could someone enlighten me as to what's happening, or help me debug this
further?

Thanks!
Max

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7a310c77-7374-4ba8-88a5-409de9d321de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.