Quando typeviene dichiarato come string, Elasticsearch 6.0 mostrerà questo errore.
"name" => [
"type" => "string",
"analyzer" => "ik_max_word"
]
Quando typeviene dichiarato come string, Elasticsearch 6.0 mostrerà questo errore.
"name" => [
"type" => "string",
"analyzer" => "ik_max_word"
]
Risposte:
Elasticsearch ha abbandonato il stringtipo e ora sta usando text. Quindi il tuo codice dovrebbe essere qualcosa del genere
"name" => [
"type" => "text",
"analyzer" => "ik_max_word"
]