1. Prefix query (prefix)
2. Wildcard fuzzy query, field type, defined as keyword, no word segmentation
{
"query": {
"bool": {
"must": [
{
"wildcard": {
"country": {
"value": "孟*"
}
}
}
]
}
}
}
3. Fuzzy fuzzy query, you can query more fuzzy, such as query game, you can use geme query
{{o.name}}
{{m.name}}