Missing fields when field is array or object #33

Open
abxccd opened this Issue Aug 6, 2012 · 0 comments

1 participant

@abxccd

I created some mapping with a property (person) that is an object:

curl -XPUT http://localhost/twitter/tweet/_mapping -d 
'{
    "tweet" : {
        "properties" : {
            "person" : {
                "type" : "object",
                "properties" : {
                    "name" : {
                        "properties" : {
                            "first_name" : {"type" : "string"},
                            "last_name" : {"type" : "string"}
                        }
                    },
                    "sid" : {"type" : "string", "index" : "not_analyzed"
                    }
                } 
           },
           "message" : {"type" : "string"}
        }
    }
}'

The problem is that the field person does not show up in Browser. The same issue occurs when person is mapped as an array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment