Hey,

Check this once:
https://lucene.apache.org/solr/guide/8_4/the-stats-component.html

On Mon, 16 Mar 2020 at 18:08, hakan <hknn.karao...@gmail.com> wrote:

> 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
>


-- 
-- 
Regards,

*Paras Lehana* [65871]
Development Engineer, *Auto-Suggest*,
IndiaMART InterMESH Ltd,

11th Floor, Tower 2, Assotech Business Cresterra,
Plot No. 22, Sector 135, Noida, Uttar Pradesh, India 201305

Mob.: +91-9560911996
Work: 0120-4056700 | Extn:
*1196*

-- 
*
*

 <https://www.facebook.com/IndiaMART/videos/578196442936091/>

Reply via email to