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,
        "z",
        "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

https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html
https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-get-mapping.html

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.