Rejecting mapping update as the final mapping would have more than 1 type

  • pseudo visitor
    Participant
    5 years, 6 months ago #6754

    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?

    wpsolr
    Keymaster
    5 years, 6 months ago #6755

    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.

    pseudo visitor
    Participant
    5 years, 6 months ago #6756

    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.

    wpsolr
    Keymaster
    5 years, 6 months ago #6757

    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.

    wpsolr
    Keymaster
    4 years, 7 months ago #14108

    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.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.