Elasticsearch score of the array item

I have a field "clour" : ["pink","blue"]. When I want to search it, I want to match the max relevant one because sometimes I have docs like "clour" : ["pink","pink"] so it should score each element of the array and take the max one. Is it possible?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.