ddjoker opened a new issue #5805:
URL: https://github.com/apache/incubator-doris/issues/5805


   
   
   
   ```
   PUT test
   {
      "settings": {
         "index": {
            "number_of_shards": "1",
            "number_of_replicas": "0"
         }
      },
      "mappings": {
         "doc": { // There is no need to specify the type when creating indexes 
after ES7.x version, there is one and only type of `_doc`
           "properties": {
                "xx": {
    "properties": {
               "k1": {
                  "type": "long"
               },
               "k2": {
                  "type": "date"
               },
               "k3": {
                  "type": "keyword"
               },
               "k4": {
                  "type": "text",
                  "analyzer": "standard"
               },
               "k5": {
                  "type": "float"
               }
            }
   }
   }
         }
      }
   }```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to