Can wildcard, matched fields have relevance scoring?


(project2501) #1

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.
To view this discussion on the web visit 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.


(system) #2