"Elasticsearch API / all"의 두 판 사이의 차이

 
60번째 줄: 60번째 줄:
==같이 보기==
==같이 보기==
* [[Elasticsearch API]]
* [[Elasticsearch API]]
* [[Elasticsearch API all settings]]
* [[Elasticsearch API /_all/_settings]]


[[분류: Elasticsearch API]]
[[분류: Elasticsearch API]]

2019년 12월 12일 (목) 15:56 기준 최신판

1 개요[ | ]

Elasticsearch API /_all
root@localhost:~# curl localhost:9200/_all?pretty
{
  "test" : {
    "aliases" : { },
    "mappings" : {
      "properties" : {
        "field1" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          }
        },
        "field2" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          }
        },
        "hello" : {
          "type" : "long"
        },
        "tags" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          }
        }
      }
    },
    "settings" : {
      "index" : {
        "creation_date" : "1576046412278",
        "number_of_shards" : "1",
        "number_of_replicas" : "1",
        "uuid" : "TY1Tq2GyRvWwoL4TVEiUVA",
        "version" : {
          "created" : "7050099"
        },
        "provided_name" : "test"
      }
    }
  }
}

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}