Can wildcard, matched fields have relevance scoring?

I am doing an 'exists' query on a field that is matching to a text field.
The results all come back with same score.

_metadata:[* TO *] // Match documents where this field exists

matched field ['text']

This searches only documents that contain a field called _metadata and
highlights that field into 'text' field.

I want the results to be ranked based on size of _metadata field or # of

Is it possible?

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
To view this discussion on the web visit
For more options, visit