Query fields with dot in name doesn't work

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

Any help, hint or link is appreciated :slightly_smiling_face:

Thank you,
Jens

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