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

  • pseudo visitor
    Participant
    # 9 months, 3 weeks ago

    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
    # 9 months, 3 weeks ago

    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
    # 9 months, 3 weeks ago

    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
    # 9 months, 3 weeks ago

    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.

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

You must be logged in to reply to this topic.