Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapperParsingException on previously valid mapping #6415

Closed
kwloafman opened this issue Jun 5, 2014 · 1 comment
Closed

MapperParsingException on previously valid mapping #6415

kwloafman opened this issue Jun 5, 2014 · 1 comment

Comments

@kwloafman
Copy link

I'm running 1.2.1 and getting the same error without include_in_all:

curl -XPUT stealth:9200/filters?pretty
{
"error" : "MapperParsingException[mapping [pseudo_doc]]; nested: MapperParsingException[Root type mapping not empty after parsing! Remaining fields: [content : {dynamic=false, properties={content={type=string}, title={type=string}, urls={type=string}, author_name={type=string}, author_id={type=string}, destination_url={type=string}, publisher={type=string}}, type=object}]]; ",
"status" : 400
}

The only mapping is in config/mappings/_default/pseudo_doc.json:

{
    "content" : {
        "dynamic" : false,
        "type" : "object",
        "properties" : {
            "author_id" : {
                "type" : "string"
            },
            "author_name" : {
                "type" : "string"
            },
            "content" : {
                "type" : "string"
            },
            "title" : {
                "type" : "string"
            },
            "urls" : {
                "type" : "string"
            },
            "destination_url" : {
                "type" : "string"
            },
            "publisher" : {
                "type" : "string"
            }
        }
    }
}
@clintongormley
Copy link

See #6304 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants