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] (Dots in field names | Elasticsearch Guide [2.4] | Elastic)
?
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)
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:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.