elasticsearch - How to use absolute field names in query_string search with 'fields'? -
i have multiple indices , have search performed globally through these indices. how can tell elasticsearch differentiate field article.author.name (where 'article' type, , 'author.name' nested field) author.name (where 'author' type , 'name' top-level attribute)? so, example, if perform such search: curl -x 'http://localhost:9200/*/author,article/_search?pretty' -d '{ "query": { "filtered": { "filter": { "bool": { "must": [ { "term": { "tag": "programming" } } ] } }, "query": { "query_string": { "query": "john doe", "fields": ["author.name"] } } } } i want search through name field inside author type. not inside auth...