es简单使用过程kibana命令

GET _search
{
"query": {
"match_all": {}
}
}
POST /2021aa/_doc
{
    "username":"ZYY",
  "age":"20"
}
POST 2021aa/_doc
{
    "username":"ZYY",
  "age":"18"
}
PUT 2021aa/_doc/k2LjjnYBJWJk29LyJIEw
{
    "username":"ZYY"
}
DELETE 2021aa/_doc/k2LjjnYBJWJk29LyJIEw

GET 2021/_doc/k2LjjnYBJWJk29LyJIEw
GET 2021/_doc/kWLCjnYBJWJk29LyVYEe
PUT 2021/_doc/kWLCjnYBJWJk29LyVYEe
{
    "sex":"男"
}
GET 2021/_doc/kWLCjnYBJWJk29LyVYEe
GET 2021AA/_doc/_search
DELETE 2021/_doc/kWLCjnYBJWJk29LyVYEe




GET _analyze
{
    "analyzer": "ik_smart",
  "text": "xx"
}

POST /2021/_doc/2
{
    "text":"中华人民共和国",
  "content":""
}
GET /_cat/indices?v
    DELETE esone2
GET esone2/_search

POST _analyze
{
    "text": "世界这么大"  
}
POST _analyze
{
    "analyzer": "ik_max_word",
    "text": "世界如此之大值的去看看"  
}

你可能感兴趣的:(php,php)