When type
is declared as string
, Elasticsearch 6.0 will show this error.
"name" => [
"type" => "string",
"analyzer" => "ik_max_word"
]
When type
is declared as string
, Elasticsearch 6.0 will show this error.
"name" => [
"type" => "string",
"analyzer" => "ik_max_word"
]
Elasticsearch has dropped the
string
type and is now usingtext
. So your code should be something like this