title: No Handler for Type Keyword declared on Field ElasticSearch 6.4.3
body: <p>I wonder what the cause is. This is the code </p>
  
  <pre><code>package main
  
  import (
      "context"
      "errors"
      "fmt"
      "time"
  
      "github.com/olivere/elastic"
  )
  
  const (
      indexName    = "applications"
      docType      = "log"
      appName      = "myApp"
      indexMapping = `{
          "mappings" : {
              "log" : {
                  "properties" : {
                      "app" : { "type" : "keyword" },
                      "message" : { "type" : "keyowrd" },
                      "time" : { "type" : "date" }
                  }
              }
          }
      }`
  )
  
  type Log struct {
      App     string    `json:"app"`
      Message string    `json:"message"`
      Time    time.Time `json:"time"`
  }
  
  func main() {
  
      client, err := elastic.NewClient(elastic.SetURL("http://localhost:9200"))
  
      if err != nil {
          panic(err)
      }
  
      err = createIndexWithLogs(client)
      if err != nil {
          panic(err)
      }
  
      // err = findAndPrintAppLogs(client)
      // if err != nil {
      //  panic(err)
      // }
  
  }
  </code></pre>
  
  <p>I received an error, No Handler for Type Keyword declared on Field ElasticSearch 6.4.3. Based on the information that I got, ES 6.4.3 should use type keyword. I have no idea that my code is not working. </p>
  
  <p>Does anyone know what the mistake is? </p>
  
  <p>Thanks </p>