Skip to content
This repository has been archived by the owner on Oct 12, 2019. It is now read-only.

MergeMappingException #18

Open
cocoakeith opened this issue Aug 13, 2015 · 0 comments
Open

MergeMappingException #18

cocoakeith opened this issue Aug 13, 2015 · 0 comments

Comments

@cocoakeith
Copy link

when I try

curl -XPUT 'localhost:9200/test/test/_mapping' -d '{
    "test": {
        "properties": {
            "my_img": {
                "type": "image",
                "feature": {
                    "CEDD": {
                        "hash": "BIT_SAMPLING"
                    },
                    "JCD": {
                        "hash": ["BIT_SAMPLING", "LSH"]
                    },
                    "FCTH": {}
                },
                "metadata": {
                    "jpeg.image_width": {
                        "type": "string",
                        "store": "yes"
                    },
                    "jpeg.image_height": {
                        "type": "string",
                        "store": "yes"
                    }
                }
            }
        }
    }
}' 

with elasticsearch1.0.1 and elasticsearch-image1.2.0, it return {"error":"MergeMappingException[Merge failed with failures {[mapper [my_img] of different type, current_type [string], merged_type [ImageMapper]]}]","status":400}, how should I to solve it?

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

No branches or pull requests

1 participant