Hi,
If I have documents with a multi-valued field of doubles, eg:
{
levels: [0, 0.1, 2, 2.2]
}
{
levels: [1, 1.1, 3, 4]
}
Is it possible to do a matrix sum of the levels field, eg: summing each individual value with other values in the same position to get
sumLevels: [1, 1.2, 5, 6.2]
If not, then I will have to consider the alternative of breaking the levels multi-valued field into separate fields (however the number of values is not fixed), or documents (would work, but will be a lot more documents).
Regards,
Oliver