zoukankan      html  css  js  c++  java
  • 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"
              }
            }
          }
        }
      }
    }


  • 相关阅读:
    随机生成密码
    vue 仿新闻项目笔记
    vuex 随笔
    SourceTree
    vue npm,Git随笔
    谷歌浏览器如何去掉自动填充的背景色
    hold 命令
    ind2vec和vec2ind函数
    稀疏矩阵(sparse matrix)
    第五篇 学习OpenCV之视频处理
  • 原文地址:https://www.cnblogs.com/mhc-fly/p/10260359.html
Copyright © 2011-2022 走看看