三种分词查看方式:
GET /_analyze
{
"analyzer": "standard",
"text": "Mashtering Elasticsearch,elasticsearch in Action"
}
GET movies/_analyze
{
"field": "title",
"text": "Mashtering Elasticsearch,elasticsearch in Action"
}
GET /_analyze
{
"tokenizer": "standard",
"filter": ["lowercase"],
"text": "Mashtering Elasticsearch,elasticsearch in Action"
}
GET /_analyze
{
"analyzer": "icu_analyzer",
"text": "这个苹果不大好吃"
}