No handler for type [string] declared on field [name]
Solution 1:
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"
]