title: Getting zero results in search using elastic4s
body: <p>This is a small code I am using to do a simple search:</p>
  
  <pre><code>import com.sksamuel.elastic4s.{ElasticsearchClientUri, ElasticClient}
  import com.sksamuel.elastic4s.ElasticDsl._
  import org.elasticsearch.common.settings.ImmutableSettings
  
  object Main3 extends App {
    val uri = ElasticsearchClientUri("elasticsearch://localhost:9300")
    val settings = ImmutableSettings.settingsBuilder().put("cluster.name", "elasticsearch").build()
    val client = ElasticClient.remote(settings, uri)
    if (client.exists("bands").await.isExists()) {
      println("Index already exists!")
      val num = readLine("Want to delete the index? ")
      if (num == "y") {
        client.execute {deleteIndex("bands")}.await
      } else {
        println("Leaving this here ...")
      }
    } else {
      println("Creating the index!")
      client.execute(create index "bands").await
      client.execute(index into "bands/artists" fields "name"-&gt;"coldplay").await
      val resp = client.execute(search in "bands/artists" query "coldplay").await
      println(resp)
    }
    client.close()
  }
  </code></pre>
  
  <p>This is result that I get:</p>
  
  <pre><code>Connected to the target VM, address: '127.0.0.1:51872', transport: 'socket'
  log4j:WARN No appenders could be found for logger (org.elasticsearch.plugins).
  log4j:WARN Please initialize the log4j system properly.
  log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
  Creating the index!
  {
    "took" : 1,
    "timed_out" : false,
    "_shards" : {
      "total" : 5,
      "successful" : 5,
      "failed" : 0
    },
    "hits" : {
      "total" : 0,
      "max_score" : null,
      "hits" : [ ]
    }
  }
  Disconnected from the target VM, address: '127.0.0.1:51872', transport: 'socket'
  
  Process finished with exit code 0
  </code></pre>
  
  <p>Creation of an index and adding document to this index is running fine but a simple search query is giving no result. I even checked this on Sense.</p>
  
  <pre><code>GET bands/artists/_search
  {
    "query": {
      "match": {
        "name": "coldplay"
      }
    }
  }
  </code></pre>
  
  <p>gives</p>
  
  <pre><code>{
     "took": 4,
     "timed_out": false,
     "_shards": {
        "total": 5,
        "successful": 5,
        "failed": 0
     },
     "hits": {
        "total": 1,
        "max_score": 0.30685282,
        "hits": [
           {
              "_index": "bands",
              "_type": "artists",
              "_id": "AU21OYO9w-qZq8hmdTOl",
              "_score": 0.30685282,
              "_source": {
                 "name": "coldplay"
              }
           }
        ]
     }
  }
  </code></pre>
  
  <p>How to solve this issue?</p>