Elasticsearch has dropped the string type and is now using text. So your code should be something like this
"name" => [
"type" => "text",
"analyzer" => "ik_max_word"
]
Elasticsearch has dropped the string type and is now using text. So your code should be something like this
"name" => [
"type" => "text",
"analyzer" => "ik_max_word"
]