Hey code_blue,
thanks for your hints. Especially the one about schema less model helps a lot to understand how the queries are performed.
A term query with type1.field1 does not yield any results:
{
"query": {
"query_string": {
"default_field": "type1.field1",
"query": "test"
}
}
}
I found a very well perfoming solution using IndicesQuery, but it is deprecated. I opened a new topic for my question as it might be relevant to other users as well: Search performance: IndicesQuery (deprecated) vs. query on field _index
Jul