• Michel Vertige

    (@michel-vertige)


    I have just installed your plugin, but I can’t get it to work.

    When I try to index my site’s content via the “Elasticsearch Indexer Dashboard”, but the process gets stuck with this error message :

    {
      "error": {
        "root_cause": [
          {
            "type": "mapper_parsing_exception",
            "reason": "Mapping definition for [post_modified_gmt_object] has unsupported parameters:  [path : full] [fields : {minute={type=integer}, dayofweek_iso={type=integer}, second={type=integer}, dayofyear={type=integer}, month={type=integer}, year={type=integer}, dayofweek={type=integer}, m={type=integer}, day={type=integer}, hour={type=integer}, week={type=integer}}]"
          }
        ],
        "type": "mapper_parsing_exception",
        "reason": "mapping [post]",
        "caused_by": {
          "type": "mapper_parsing_exception",
          "reason": "Mapping definition for [post_modified_gmt_object] has unsupported parameters:  [path : full] [fields : {minute={type=integer}, dayofweek_iso={type=integer}, second={type=integer}, dayofyear={type=integer}, month={type=integer}, year={type=integer}, dayofweek={type=integer}, m={type=integer}, day={type=integer}, hour={type=integer}, week={type=integer}}]"
        }
      },
      "status": 400
    }

    Do you understand what is going on ? I’m an elasticsearch noob…

    The website has a lot of content in custom post types, could it be related ?

    https://www.ads-software.com/plugins/elasticsearch-indexer/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I am getting the same error message.
    {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Mapping definition for [post_modified_object] has unsupported parameters: [path : full] [fields : {week={type=integer}, dayofweek_iso={type=integer}, month={type=integer}, hour={type=integer}, year={type=integer}, dayofweek={type=integer}, m={type=integer}, day={type=integer}, dayofyear={type=integer}, minute={type=integer}, second={type=integer}}]"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [post]: Mapping definition for [post_modified_object] has unsupported parameters: [path : full] [fields : {week={type=integer}, dayofweek_iso={type=integer}, month={type=integer}, hour={type=integer}, year={type=integer}, dayofweek={type=integer}, m={type=integer}, day={type=integer}, dayofyear={type=integer}, minute={type=integer}, second={type=integer}}]","caused_by":{"type":"mapper_parsing_exception","reason":"Mapping definition for [post_modified_object] has unsupported parameters: [path : full] [fields : {week={type=integer}, dayofweek_iso={type=integer}, month={type=integer}, hour={type=integer}, year={type=integer}, dayofweek={type=integer}, m={type=integer}, day={type=integer}, dayofyear={type=integer}, minute={type=integer}, second={type=integer}}]"}},"status":400}

    Hi, i have the same problem, the solution is to use a 1.x elasticsearch cluster. On elastic.co by default it uses a 2.x cluster.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘mapper_parsing_exception’ is closed to new replies.