title: elasticsearch get all possible facets
body: <p>is there a way to get the "top 10" facets but at the same time get all the possible facets we could have created (in that case, <strong>all distinct kingdoms</strong> in our document).</p>
  
  <p>I know I could increase the "size" to a very big number, but then it generates a very big JSON and processing costs may be much bigger. </p>
  
  <p>A simple facet...</p>
  
  <pre><code>"facets" : {
      "kingdom": {
          "terms": {
              "field": "kingdom",
              "size": 10
          } 
      }
  </code></pre>
  
  <p>thanks in advance</p>