Unindexed fields cannot be search

I have a Json object in the following format. I cannot aggregate or search for the data inside the position loop: i.e x,y &z cannot be searched in kibana. Could you please help with the indexing/mapping issue?

  sample_data.first_floor {

      "id": "-1",
      "address": "801"
      "position": {
        "x": 0,
        "y": 0,
        "id": "-1"

How did you set up the index in Elasticsearch? What does the mapping for your index look like? In "Dev tools" application, run the following GET /your_index_name/_mapping