You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by hakan <hk...@gmail.com> on 2020/03/16 11:13:22 UTC
How to sum model grouped?
I use solr version 7.1. I have as grouped model in total 11M record, as below
example.
This question is, How do I sum fromfollowers field from this grouped model?
{
groupValue: "1927245294",
doclist: {
numFound: 1,
start: 0,
docs: [
{
fromuserid: "1927245294",
fromfollowers: 185
}
]
}
},
{
groupValue: "98405321",
doclist: {
numFound: 1,
start: 0,
docs: [
{
fromuserid: "98405321",
fromfollowers: 292
}
]
}
},
{
groupValue: "182496421",
doclist: {
numFound: 1,
start: 0,
docs: [
{
fromuserid: "182496421",
fromfollowers: 111
}
]
}
}
--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html