<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      2042穿越而來

       

      elasticserch常用命令api

      集群
      curl -XGET 'localhost:9200/_cluster/health?pretty=true' 集群健康
      curl -XGET 'localhost:9200/_cluster/settings?pretty=true' 集群設(shè)置
      curl -XGET 'localhost:9200/_cluster/health?level=indices&pretty=true' 集群健康-列出索引
      curl -XPUT 'localhost:9200/_cluster/settings' -H 'Content-Type:application/json' -d '{"transient":{"cluster":{"max_shards_per_node":4000}}}'
      curl -XPUT 'localhost:9200/_cluster/settings' -H 'Content-Type:application/json' -d '{"persisent":{"cluster":{"max_shards_per_node":4000}}}' 更新集群setting 分片上限

      分片
      curl -XGET 'localhost:9200/_cluster/allocation/explain?pretty' 未分片詳情
      curl -XGET 'localhost:9200/_cat/shards?v' 索引分片詳情列表
      curl -XGET 'localhost:9200/_cat/shards?h=index,shard,prirep,state,unassigned.reason' 索引分片列表指定字段
      curl -XGET 'localhost:9200/_cat/allocation?v' 集群分片詳情

      索引
      curl -XGET 'localhost:9200/_cat/indices?v' 查看索引列表
      curl -XGET 'localhost:9200/_cat/indices?index=*2020.0707*' 模糊查詢索引列表
      curl -XGET 'localhost:9200/.kibana_1/setting' 查看索引配置
      curl -XDELETE 'localhost:9200/index_name' 刪除
      curl -XGET 'localhost:9200/_cluster/health/index_name?pretty' 索引健康
      curl -XGET 'localhost:9200/_cat/segments/index_name?v' 索引segments
      curl -XPUT 'localhost:9200/index_name/_settings' -H 'Content-Type:application/json' -d '{"number_of_replicas":0}' 更新索引setting設(shè)置
      curl -XPUT 'localhost:9200/index_name' -H 'Content-Type:application/json' -d '{"setting":{"number_of_shards":1,"number_of_replicas":1}}' 新建索引-指定主從分片數(shù)
      curl -XPUT 'localhost:9200/index_name/_doc/1' -H 'Content-Type:application/json' -d '{"id":1001}' 索引下新建文檔
      curl -XGET 'localhost:9200/index_name/_search?size=10' 查詢10條索引
      curl -XGET 'localhost:9200/index_name/_search?size=10&pretty' -H 'Content-Type:application/json' -d '{"query":{"term":{"id":"1001"}}}' term 精確匹配查詢
      curl -XGET 'localhost:9200/index_name/_search?size=10&pretty' -H 'Content-Type:application/json' -d '{"query":{"match":{"id":"1001"}}}' match 分詞匹配查詢
      curl -XGET 'localhost:9200/index_name/_search?size=10&pretty&q=id:1001' url傳參查詢
      curl -XGET 'localhost:9200/index_name/index_name/1001?pretty' /_index/_type/_id 查詢索引詳情

      線程池
      curl -XGET 'localhost:9200/_cat/thread_pool/write?v' 線程池信息
      curl -XGET 'localhost:9200/_nodes/stats/pretty' > 1.txt 節(jié)點(diǎn)詳情(有線程池信息)

      快照
      curl -XPUT 'localhost:9200/_snapshot/es_backup' -H 'Content-Type:application/json' -d '{"type":"fs","setting":{"location":"/data/es_backup","compress":true}}' 創(chuàng)建倉(cāng)庫(kù)
      curl -XPUT 'localhost:9200/_snapshot/es_backup/snapshot_all' 備份所有-增量
      curl -XPUT 'localhost:9200/_snapshot/es_backup/snapshot_001' -d '{"indices":"index_name"}' -H 'Content-Type:application/json' 備份指定索引
      curl -XGET 'localhost:9200/_snapshot/es_backup/_all' 查詢所有快照
      curl -XGET 'localhost:9200/_snapshot/es_backup/snapshot_001/_status' 查詢某快照狀態(tài)
      curl -XDELETE 'localhost:9200/_snapshot/es_backup/snapshot_001' 刪除快照
      curl -XPOST 'localhost:9200/_snapshot/es_back/snapshot_001/_restore' 恢復(fù)

       

      posted on 2022-01-25 17:06  2042穿越而來  閱讀(252)  評(píng)論(0)    收藏  舉報(bào)

      導(dǎo)航

      主站蜘蛛池模板: 国产欧美日韩亚洲一区二区三区| 精品久久人人做爽综合| 国产一区二区不卡在线| 国产女人看国产在线女人| 久久久精品2019中文字幕之3 | 国产午夜在线观看视频播放| 亚洲精品成人一二三专区| 亚洲AV永久无码天堂网一线| 日韩激情一区二区三区| 精品综合一区二区三区四区 | 国产亚洲精品在av| 在线观看国产区亚洲一区| 狠狠色噜噜狠狠狠777米奇小说| 亚洲午夜福利精品无码不卡| 999国产精品999久久久久久| 中国熟妇牲交视频| 18禁极品一区二区三区| 99热精品毛片全部国产无缓冲| 在线精品视频一区二区三四| 亚洲精品综合一区二区三区| 精品91在线| 日韩精品一区二区三区色| 杨浦区| 四虎成人高清永久免费看| 精品国产大片中文字幕| 亚洲av二区国产精品| 婷婷丁香五月激情综合| 中年国产丰满熟女乱子正在播放| 亚洲国产精品久久久久秋霞 | 亚洲天堂av日韩精品| 国产欧美另类久久久精品不卡 | 制服丝袜国产精品| 欧美丰满熟妇乱XXXXX网站| 亚洲精品~无码抽插| 蜜臀av午夜精品福利| 中文字幕第一页国产| 国产亚洲精久久久久久久91| 日本一区二区三深夜不卡| 最新国产在线拍揄自揄视频| 国产成人一区二区三区视频免费| 中文字幕va一区二区三区|