kibana简单使用
GET _search
{
"query": {
"match_all": {}
}
}
POST /2021aa/_doc
{
"username":"zaq",
"age":"20"
}
POST 2021aa/_doc
{
"username":"zaq",
"age":"18"
}
PUT 2021aa/_doc/k2LjjnYBJWJk29LyJIEw
{
"username":"ZYY"
}
DELETE 2021aa/_doc/k2LjjnYBJWJk29LyJIEw
GET 2021/_doc/k2LjjnYBJWJk29LyJIEw
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": "有意义有晕晕晕一月又一月"
}