olivere / elastic

Deprecated: Use the official Elasticsearch client for Go at https://github.com/elastic/go-elasticsearch
https://olivere.github.io/elastic/
MIT License
7.42k stars 1.15k forks source link

ReleasableBytesStreamOutput cannot hold more than 2GB of data #1626

Closed henrY2Young closed 2 years ago

henrY2Young commented 2 years ago

Elasticsearch 7.x I have a question,this is my source() out

{
 "aggregations": {
  "r_bucket_sort": {
   "bucket_sort": {
    "size": 10
   }
  }
 },
 "terms": {
  "field": "userid",
  "size": 1000000
 }
}

but I get a panic ReleasableBytesStreamOutput cannot hold more than 2GB of data I user save aggregations in a Python library ,but not have problem,and I do something wrong?