Get function score value as fields


I'm looking for the equivalent of this Solr feature which allows me to get a function score value as a pseudo-field. I don't see anything similar in the documentation...
Perhaps it's possible to call custom function score queries in script_fields? If so, how? Again I don't see anything about this in the docs.
Without this feature I'd be forced to parse the explanation tree which is cumbersome, error-prone and slow.


1 Like