<p dir="auto">In the ES 5 alphas we have some awesome bootstrap checks. However when you start ES as a service, eg <code class="notranslate">service elasticsearch start</code> and haven't completed those, it gives;</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" * Starting Elasticsearch Server                                                                                                                                                                                                       [ OK ]"><pre class="notranslate"><code class="notranslate"> * Starting Elasticsearch Server                                                                                                                                                                                                       [ OK ]
</code></pre></div>
<p dir="auto">And in the logs it complains because not all of the checks passed.</p>
<p dir="auto">We shouldn't really be returning an <code class="notranslate">OK</code> from the service if it doesn't start at all.</p>
<p dir="auto">Hi.</p>
<p dir="auto">I would like not to get some of the fields from the response of an API request, since it's killing my CPU time at deserialization of the JSON in the client, I commented the fields that I don't want to receive, Is it possible?</p>
<p dir="auto">First aggregation is date_histogram, inner aggregation is top_hits, What i've tried to do is to take the last value from every 30 minutes within a date range.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
   &quot;took&quot; : 21,
   &quot;timed_out&quot; : false,
   &quot;_shards&quot; : {
     &quot;total&quot; : 5,
     &quot;successful&quot; : 5,
     &quot;failed&quot; : 0
   },
   &quot;hits&quot; : {
     &quot;total&quot; : 1715,
     &quot;max_score&quot; : 0.0,
     &quot;hits&quot; : [ ]
   },
   &quot;aggregations&quot; : {
     &quot;my_agg&quot; : {
       &quot;buckets&quot; : [ {
         //&quot;key_as_string&quot; : &quot;2014-08-20T12:00:00.000Z&quot;,
         &quot;key&quot; : 1408536000000,
         //&quot;doc_count&quot; : 64,
         &quot;found_hits&quot; : {
           &quot;hits&quot; : {
             // &quot;total&quot; : 64,
             // &quot;max_score&quot; : null,
             &quot;hits&quot; : [ {
               //&quot;_index&quot; : &quot;feed_history&quot;,
               // &quot;_type&quot; : &quot;feed_history&quot;,
               // &quot;_id&quot; : &quot;de1ea495-13d1-422d-ad44-a96fb0c36af8&quot;,
               // &quot;_score&quot; : null,
               &quot;_source&quot;:{&quot;value&quot;:1.30655,&quot;relatedId&quot;:2,&quot;serverTime&quot;:&quot;2014-08-20T12:29:59.4410307Z&quot;},
               // &quot;sort&quot; : [ 1408537799441 ]
             } ]
           }
         }
       }, ... ]
     }
   }
 }"><pre class="notranslate"><code class="notranslate">{
   "took" : 21,
   "timed_out" : false,
   "_shards" : {
     "total" : 5,
     "successful" : 5,
     "failed" : 0
   },
   "hits" : {
     "total" : 1715,
     "max_score" : 0.0,
     "hits" : [ ]
   },
   "aggregations" : {
     "my_agg" : {
       "buckets" : [ {
         //"key_as_string" : "2014-08-20T12:00:00.000Z",
         "key" : 1408536000000,
         //"doc_count" : 64,
         "found_hits" : {
           "hits" : {
             // "total" : 64,
             // "max_score" : null,
             "hits" : [ {
               //"_index" : "feed_history",
               // "_type" : "feed_history",
               // "_id" : "de1ea495-13d1-422d-ad44-a96fb0c36af8",
               // "_score" : null,
               "_source":{"value":1.30655,"relatedId":2,"serverTime":"2014-08-20T12:29:59.4410307Z"},
               // "sort" : [ 1408537799441 ]
             } ]
           }
         }
       }, ... ]
     }
   }
 }
</code></pre></div>