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"
]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With