Dot in field name

I start using 5.2.2
I am adding documents with dot in field name i.e , im.type
looking at this mapping :
"name":{"type": "text", "analyzer": "whitespace"},
"type":{"type": "text", "analyzer": "whitespace"}
why the im doesn't have "object" type as described [here] (
how can I get all fields key set ?
e.g , im.type ...
if I query the properties field I am getting just the first level key set (im)

It's not needed actually but it is an object.

I don't understand the last question though. Example?

Thank you @dadoonet , I guess you are right. only objects have "properties" correct ?. as for my second question , if I have the following mapping:
"properties": {
"name": { "type": "text" },
"article": {
"properties": {
"id": { "type": "text" },
"title": { "type": "text"},
"abstract": { "type": "text"},
"author": {
"properties": {
"id": { "type": "text" },
"name": { "type": "text" }
}}}} } }
is it possible to get all fields full name ?
like this:

name, ,
article.title ,
article.abstract ,,


Very sorry but I don't understand what you mean here. May be someone else?

simply I want to get a list of all fields

GET index/_mapping

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