Hi,

How can I get the sum of a particular field in the documents in solr?

Eg:.

[{"item": "ice cream",
"price" : "345"},
{"item": "snickers",
"price" : "34"},
{"item": "hersheys",
"price" : "5"}]

I want to get the total price for the items.

Regards,
Vineeth

Reply via email to