• kibana test


    https://www.cnblogs.com/yiwangzhibujian/p/7137546.html

    curl -XPUT http://localhost:9200/shakespeare -d '
    {
     "mappings" : {
      "_default_" : {
       "properties" : {
        "speaker" : {"type": "string", "index" : "not_analyzed" },
        "play_name" : {"type": "string", "index" : "not_analyzed" },
        "line_id" : { "type" : "integer" },
        "speech_number" : { "type" : "integer" }
       }
      }
     }
    }
    '


     curl http://localhost:9200/shakespeare/_mapping?pretty
    {
      "shakespeare" : {
        "mappings" : {
          "_default_" : {
            "properties" : {
              "line_id" : {
                "type" : "integer"
              },
              "play_name" : {
                "type" : "keyword"
              },
              "speaker" : {
                "type" : "keyword"
              },
              "speech_number" : {
                "type" : "integer"
              }
            }
          }
        }
      }
    }


  • 相关阅读:
    protobuf自解释message
    protobuf编码
    proto3语法
    proto2语法
    protobuf简介
    poi处理大EXCEL文件总结
    POI-处理大Excel文件(xlsx写)
    POI-处理大Excel文件(xlsx)
    POI-处理大Excel文件(xls)
    RedHat 6.4 RHCS GFS2安装
  • 原文地址:https://www.cnblogs.com/mhc-fly/p/10260359.html
Copyright © 2020-2023  润新知