Home » Topic » Technical and configuration issues » Solr, Elasticsearch, OpenSearch, Algolia, Weaviate – Anything but Hosting Providers » Rejecting mapping update as the final mapping would have more than 1 type
I got WPSOLR updated to the latest version and I also updated to Elasticsearch 6.3.1 but when I re-indexed my site I got this error:
Rejecting mapping update to [xxxx] as the final mapping would have more than 1 type: [doc, wpsolr_types]
this is apparently a breaking change in ElasticSearch 6 (https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking-changes-6.0.html)
but version 20.5 says it’s compatible with 6.3.1
= 20.5 =
* Tested with WordPress 4.9.7, Solr 7.4.0, Elasticsearch 6.3.1
How should I fix this?
The mapping does not support multiple types in recent ES versions.
WPSOLR provides a new mapping. To use it, create a new index in WPSOLR, use it in screen 2.1, and reindex all your data.
But now, according to Kibana this index is out-of-date
“Your Kibana index is out of date, reset it or use the X-Pack upgrade assistant.”
This is the index created by the new index I just created through wpsolr.
The messages states that the Kibana index is out of index, not your index.
You’ll find procedures to upgrade the Kibana index by googling. For instance https://github.com/elastic/kibana/issues/14934.
Follow-up: https://www.wpsolr.com/forums/topic/release-21-6/ is released with a new compatibility for Elasticsearch 7
Which means that doc types are no more involved if you use Elasticsearch 7 indexes.
You must be logged in to reply to this topic.