elasticsearch技术解析与实战 入门和索引

Posted cxhfuujust

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了elasticsearch技术解析与实战 入门和索引相关的知识,希望对你有一定的参考价值。

GET _cat/nodes
GET _cat/health
GET _cat/shards

GET http://10.37.84.124:9200/secisland?pretty
{  
   "settings":{  
      "number_of_shards":5,
      "number_of_replicas":1
   }
}

GET http://10.37.84.124:9200/_cat/indices?v&index=secisland

PUT secisland/secilog/1/
{
    "computer":"secisland",
    "message":"secisland is an security company"
}

GET secisland/secilog/1/

DELETE secisland/secilog/1

DELETE secisland/

GET secisland/
返回:
{
   "secisland": {
      "aliases": {},
      "mappings": {
         "secilog": {
            "properties": {
               "computer": {
                  "type": "string"
               },
               "message": {
                  "type": "string"
               }
            }
         }
      },
      "settings": {
         "index": {
            "creation_date": "1527232104844",
            "uuid": "B70OmuX6QZijhIIenubl1Q",
            "number_of_replicas": "1",
            "number_of_shards": "5",
            "version": {
               "created": "2030599"
            }
         }
      },
      "warmers": {}
   }
}

GET secisland/_settings
GET secisland/_mapping

POST /secisland/_open
POST /secisland/_close




 

以上是关于elasticsearch技术解析与实战 入门和索引的主要内容,如果未能解决你的问题,请参考以下文章

Elasticsearch技术解析与实战 PDF (内含目录)

Elasticsearch技术解析与实战Elasticsearch partial update

Elasticsearch技术解析与实战Document解析

Elasticsearch技术解析与实战基础概念及环境搭建

《自然语言处理实战入门》 文本检索 ---- ElasticSearch 概念与操作

Elasticsearch 实战与原理解析 - 第 10 章 Elasticsearch 生态圈