Skip to content

"rake db:migrate db:seed" elasticsearch error #111

@fuyuasha

Description

@fuyuasha

Any suggestions (using elasticsearch 2.1.0_1)?

[ERROR] There has been an error when creating the index -- elasticsearch returned:
400 : {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Mapping definition for [key_ids] has unsupported parameters: [as : commits_keys.pluck(:key_id)]"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [commit]: Mapping definition for [key_ids] has unsupported parameters: [as : commits_keys.pluck(:key_id)]","caused_by":{"type":"mapper_parsing_exception","reason":"Mapping definition for [key_ids] has unsupported parameters: [as : commits_keys.pluck(:key_id)]"}},"status":400}
[ERROR] There has been an error when creating the index -- elasticsearch returned:
400 : {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Mapping definition for [index_in_section] has unsupported parameters: [as : send(:key).index_in_section]"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [translation]: Mapping definition for [index_in_section] has unsupported parameters: [as : send(:key).index_in_section]","caused_by":{"type":"mapper_parsing_exception","reason":"Mapping definition for [index_in_section] has unsupported parameters: [as : send(:key).index_in_section]"}},"status":400}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions