# Query fields with dot in name doesn't work

**URL:** <https://discuss.elastic.co/t/query-fields-with-dot-in-name-doesnt-work/129925>\
**Category:** Elasticsearch\
**Created:** [April 28, 2018, 4:03pm UTC](https://discuss.elastic.co/t/query-fields-with-dot-in-name-doesnt-work/129925 "2018-04-28T16:03:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Techsigns](https://avatars.discourse-cdn.com/v4/letter/t/f14d63/32.png) [@Techsigns](https://discuss.elastic.co/u/Techsigns)\
**Post date:** [April 28, 2018, 4:03pm UTC](https://discuss.elastic.co/t/query-fields-with-dot-in-name-doesnt-work/129925/1 "2018-04-28T16:03:16Z")

</div>

Hi! I'm really new to Elasticsearch and I've managed to setup the elasticsearch stack with Elasticsearch, Kibana and X-Pack. I didn't setup Logstash yet, because I think I won't need it.

Anyway, indexing of documents went well and I can search through the documents in my so called index "objectsearch\_article".

My document structure looks the following (JSON extract directly from Kibana):  
{  
"\_index": "objectsearch\_article",  
"\_type": "article",  
"\_id": "40",  
"\_score": 1,  
"\_source": {  
"type": "article",  
"key": "blog-article-1",  
"path": "/blog/",  
"articleType": "blogPosting",  
"localizedfields": {  
"en": {  
"textid": "text-en-1",  
"title": "This is my text",  
},  
"de\_DE": {  
"textid": "text-de-1",  
"title": "Das ist mein Text",  
}  
}  
}  
}

I can search for an article by "root" fields like "type" or "key":  
{  
"query": {  
"bool": {  
"should": [  
{ "match": { "articleType": "blogPosting" }}  
]  
}  
}  
}

If I try to search using inner objects query I don't get any results:  
{  
"query": {  
"bool": {  
"should": [  
{ "match": { "localizedfields.de\_DE.textid": "text-de-1" }}  
]  
}  
}  
}

I also tried to use Kibana Discover to create a query but had no luck, too

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/d/1d8a6427dcc9996e38e630fff71cdc0ef57b491d.png)

Any help, hint or link is appreciated 🙂

Thank you,  
Jens

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 26, 2018, 4:03pm UTC](https://discuss.elastic.co/t/query-fields-with-dot-in-name-doesnt-work/129925/2 "2018-05-26T16:03:23Z")

</div>

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