Hello Clinton, Thank you for your answer. Probably didn't describe it that clear, I do not want the sum of all the values of the key-value-pairs. I want to boost each document (with a specific key) only with the value for the matching key/color (e.g. if searching for documents with blue as color each document should be boosted with the value for blue in this document. Am I correct, that the sum will give me the sum of all values in the nested value fields as score/boost? Is the solution to write a script in mvel that iterates through the nested fields?
Regards Michael -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8aae16d5-542a-4fa6-9ade-98b3e81ca0d2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.