# Can wildcard, matched fields have relevance scoring?

**URL:** <https://discuss.elastic.co/t/can-wildcard-matched-fields-have-relevance-scoring/15149>\
**Category:** Elasticsearch\
**Created:** [January 8, 2014, 5:44pm UTC](https://discuss.elastic.co/t/can-wildcard-matched-fields-have-relevance-scoring/15149 "2014-01-08T17:44:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![project2501](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@project2501](https://discuss.elastic.co/u/project2501)\
**Post date:** [January 8, 2014, 5:44pm UTC](https://discuss.elastic.co/t/can-wildcard-matched-fields-have-relevance-scoring/15149/1 "2014-01-08T17:44:14Z")

</div>

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

\_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  
matches.

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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/e203d671-cca4-4d19-ba63-bc6d3c704026%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e203d671-cca4-4d19-ba63-bc6d3c704026%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:57am UTC](https://discuss.elastic.co/t/can-wildcard-matched-fields-have-relevance-scoring/15149/2 "2017-07-06T01:57:54Z")

</div>

Closed on July 6, 2017, 1:57am UTC


