{ "size" : 0, "query": { "filtered": { "query": { "query_string" : { "fields": ["articlename" , "manufacturer" ,"short_description" , "keywords","ean","producerpartno","articleno" ], "default_operator": "AND" , "query" : "tablet gecko*"} }, "filter": { "bool" : { "must" : [ { "term": { "status": 1} } ,{ "term": { "tags": "k_01ger0010000_111" } } , { "bool": { "should": [ { "range" : { "prices_" : { "gte" : 0.1, "lte" : 100000000 } } }, { "range" : { "prices_1_SSH" : { "gte" : 0.1, "lte" : 100000000 } } }] } } ] } } } }, "aggs": { "manufacturers": { "terms": { "field": "manufacturer", "size" : 1000000 } } }, "sort": { "relevance_index": { "order": "desc" } } }