Dot in field name

I start using 5.2.2
I am adding documents with dot in field name i.e

im.name , im.type
looking at this mapping :
"im":{
"properties":{
"name":{"type": "text", "analyzer": "whitespace"},
"type":{"type": "text", "analyzer": "whitespace"}
}
}
why the im doesn't have "object" type as described [here] (https://www.elastic.co/guide/en/elasticsearch/reference/2.4/dots-in-names.html)
?
how can I get all fields key set ?
e.g im.name , 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.id ,
article.title ,
article.abstract ,
article.author.id,
article.author.name

thanks

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.