title: ElasticSearch hits have no fields
body: <p>I am having a problem where when I run a search on elastic using the java api I get back results... but when I try and extract values from the results there are no fields.</p>
  
  <p>ElasticSearch v5.3.1</p>
  
  <p>Elastic API: org.elasticsearch.client:transport v5.3.0</p>
  
  <p>My code:</p>
  
  <pre><code>SearchRequestBuilder srb =   client.prepareSearch("documents").setTypes("documents").setSearchType(SearchType.QUERY_THEN_FETCH).setQuery(qb).setFrom(0).setSize((10)).setExplain(false);
  
  srb.addDocValueField("title.raw");
  SearchResponse response = srb.get();
  
  response.getHits().forEach(new Consumer&lt;SearchHit&gt;() {
  
          @Override
          public void accept(SearchHit hit) {
              System.out.println(hit);
              Map&lt;String, SearchHitField&gt; fields = hit.getFields();
  
              Object obj = fields.get("title.raw").getValue();
  
          }
  
      });
  </code></pre>
  
  <p>When the forEach runs the obj is always coming back null. Fields has an item in it with the key of title.raw and it has a SearchHitField.</p>