| 1 |
32.66 ms |
Request:
{"index":"dev_product","search_type":"query_then_fetch","track_total_hits":true,"body":{"post_filter":{"bool":{"filter":[{"terms":{"manufacturerId":["01912bf6c72d71b896481ed8130f23ad"]}}]}},"query":{"bool":{"filter":[{"bool":{"must":[{"bool":{"must":[{"term":{"active":true}},{"range":{"visibility_08d2beb617754d2e9b8813e67fbd3a10":{"gte":20}}}]}},{"exists":{"field":"displayGroup"}},{"bool":{"must_not":[{"bool":{"must":[{"term":{"isCloseout":true}},{"term":{"available":false}}]}}]}}]}}],"must":[{"dis_max":{"queries":[{"bool":{"must":[{"bool":{"should":[{"dis_max":{"queries":[{"match":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":500.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":300.0,"slop":3,"max_expansions":10}}},{"match":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"climair","boost":200.0}}}]}},{"dis_max":{"queries":[{"match":{"productNumber.search":{"query":"climair","boost":500.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"productNumber.search":{"query":"climair","boost":300.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":700.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":420.0,"slop":3,"max_expansions":10}}},{"match":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"climair","boost":280.0}}}]}},{"nested":{"path":"tags","query":{"dis_max":{"queries":[{"match":{"tags.name.search":{"query":"climair","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"tags.name.search":{"query":"climair","boost":480.0,"slop":3,"max_expansions":10}}}]}}}},{"dis_max":{"queries":[{"match":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":480.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":250.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":150.0,"slop":3,"max_expansions":10}}},{"match":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"climair","boost":100.0}}}]}},{"nested":{"path":"categories","query":{"dis_max":{"queries":[{"match":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":200.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":120.0,"slop":3,"max_expansions":10}}},{"match":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"climair","boost":80.0}}}]}}}}]}},{"bool":{"should":[{"dis_max":{"queries":[{"match":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":500.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":300.0,"slop":3,"max_expansions":10}}},{"match":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"plava","boost":200.0}}}]}},{"dis_max":{"queries":[{"match":{"productNumber.search":{"query":"plava","boost":500.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"productNumber.search":{"query":"plava","boost":300.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":700.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":420.0,"slop":3,"max_expansions":10}}},{"match":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"plava","boost":280.0}}}]}},{"nested":{"path":"tags","query":{"dis_max":{"queries":[{"match":{"tags.name.search":{"query":"plava","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"tags.name.search":{"query":"plava","boost":480.0,"slop":3,"max_expansions":10}}}]}}}},{"dis_max":{"queries":[{"match":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":480.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":250.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":150.0,"slop":3,"max_expansions":10}}},{"match":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"plava","boost":100.0}}}]}},{"nested":{"path":"categories","query":{"dis_max":{"queries":[{"match":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":200.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":120.0,"slop":3,"max_expansions":10}}},{"match":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"plava","boost":80.0}}}]}}}}]}},{"bool":{"should":[{"dis_max":{"queries":[{"match":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":500.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":300.0,"slop":3,"max_expansions":10}}},{"match":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"kunststoffe","boost":200.0}}}]}},{"dis_max":{"queries":[{"match":{"productNumber.search":{"query":"kunststoffe","boost":500.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"productNumber.search":{"query":"kunststoffe","boost":300.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":700.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":420.0,"slop":3,"max_expansions":10}}},{"match":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"kunststoffe","boost":280.0}}}]}},{"nested":{"path":"tags","query":{"dis_max":{"queries":[{"match":{"tags.name.search":{"query":"kunststoffe","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"tags.name.search":{"query":"kunststoffe","boost":480.0,"slop":3,"max_expansions":10}}}]}}}},{"dis_max":{"queries":[{"match":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":480.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":250.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":150.0,"slop":3,"max_expansions":10}}},{"match":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"kunststoffe","boost":100.0}}}]}},{"nested":{"path":"categories","query":{"dis_max":{"queries":[{"match":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":200.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":120.0,"slop":3,"max_expansions":10}}},{"match":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"kunststoffe","boost":80.0}}}]}}}}]}},{"bool":{"should":[{"dis_max":{"queries":[{"match":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":500.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":300.0,"slop":3,"max_expansions":10}}},{"match":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"gmbh","boost":200.0}}}]}},{"dis_max":{"queries":[{"match":{"productNumber.search":{"query":"gmbh","boost":500.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"productNumber.search":{"query":"gmbh","boost":300.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":700.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":420.0,"slop":3,"max_expansions":10}}},{"match":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"gmbh","boost":280.0}}}]}},{"nested":{"path":"tags","query":{"dis_max":{"queries":[{"match":{"tags.name.search":{"query":"gmbh","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"tags.name.search":{"query":"gmbh","boost":480.0,"slop":3,"max_expansions":10}}}]}}}},{"dis_max":{"queries":[{"match":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":480.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":250.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":150.0,"slop":3,"max_expansions":10}}},{"match":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"gmbh","boost":100.0}}}]}},{"nested":{"path":"categories","query":{"dis_max":{"queries":[{"match":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":200.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":120.0,"slop":3,"max_expansions":10}}},{"match":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"gmbh","boost":80.0}}}]}}}}]}}]}},{"bool":{"should":[{"dis_max":{"queries":[{"match":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":500.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":300.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"productNumber.search":{"query":"climair plava kunststoffe gmbh","boost":500.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"productNumber.search":{"query":"climair plava kunststoffe gmbh","boost":300.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":700.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":420.0,"slop":3,"max_expansions":10}}}]}},{"nested":{"path":"tags","query":{"dis_max":{"queries":[{"match":{"tags.name.search":{"query":"climair plava kunststoffe gmbh","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"tags.name.search":{"query":"climair plava kunststoffe gmbh","boost":480.0,"slop":3,"max_expansions":10}}}]}}}},{"dis_max":{"queries":[{"match":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":480.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":250.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":150.0,"slop":3,"max_expansions":10}}}]}},{"nested":{"path":"categories","query":{"dis_max":{"queries":[{"match":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":200.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":120.0,"slop":3,"max_expansions":10}}}]}}}}]}}]}}]}},"sort":[{"_score":{"order":"DESC"}},{"id":{"order":"ASC"}}],"aggregations":{"total-filtered-count":{"filter":{"terms":{"manufacturerId":["01912bf6c72d71b896481ed8130f23ad"]}},"aggregations":{"total-count":{"cardinality":{"field":"displayGroup"}}}}},"from":0,"size":32,"collapse":{"field":"displayGroup"},"timeout":"5s"}}
POST http://localhost:9200/dev_product/_search?search_type=query_then_fetch&track_total_hits=1
Accept: application/json
Content-Type: application/json
{
"post_filter": {
"bool": {
"filter": [
{
"terms": {
"manufacturerId": [
"01912bf6c72d71b896481ed8130f23ad"
]
}
}
]
}
},
"query": {
"bool": {
"filter": [
{
"bool": {
"must": [
{
"bool": {
"must": [
{
"term": {
"active": true
}
},
{
"range": {
"visibility_08d2beb617754d2e9b8813e67fbd3a10": {
"gte": 20
}
}
}
]
}
},
{
"exists": {
"field": "displayGroup"
}
},
{
"bool": {
"must_not": [
{
"bool": {
"must": [
{
"term": {
"isCloseout": true
}
},
{
"term": {
"available": false
}
}
]
}
}
]
}
}
]
}
}
],
"must": [
{
"dis_max": {
"queries": [
{
"bool": {
"must": [
{
"bool": {
"should": [
{
"dis_max": {
"queries": [
{
"match": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 500.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "climair",
"boost": 200.0
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"productNumber.search": {
"query": "climair",
"boost": 500.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"productNumber.search": {
"query": "climair",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 700.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 420.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "climair",
"boost": 280.0
}
}
}
]
}
},
{
"nested": {
"path": "tags",
"query": {
"dis_max": {
"queries": [
{
"match": {
"tags.name.search": {
"query": "climair",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"tags.name.search": {
"query": "climair",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
}
}
},
{
"dis_max": {
"queries": [
{
"match": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 250.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 150.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "climair",
"boost": 100.0
}
}
}
]
}
},
{
"nested": {
"path": "categories",
"query": {
"dis_max": {
"queries": [
{
"match": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 200.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 120.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "climair",
"boost": 80.0
}
}
}
]
}
}
}
}
]
}
},
{
"bool": {
"should": [
{
"dis_max": {
"queries": [
{
"match": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 500.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "plava",
"boost": 200.0
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"productNumber.search": {
"query": "plava",
"boost": 500.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"productNumber.search": {
"query": "plava",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 700.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 420.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "plava",
"boost": 280.0
}
}
}
]
}
},
{
"nested": {
"path": "tags",
"query": {
"dis_max": {
"queries": [
{
"match": {
"tags.name.search": {
"query": "plava",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"tags.name.search": {
"query": "plava",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
}
}
},
{
"dis_max": {
"queries": [
{
"match": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 250.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 150.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "plava",
"boost": 100.0
}
}
}
]
}
},
{
"nested": {
"path": "categories",
"query": {
"dis_max": {
"queries": [
{
"match": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 200.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 120.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "plava",
"boost": 80.0
}
}
}
]
}
}
}
}
]
}
},
{
"bool": {
"should": [
{
"dis_max": {
"queries": [
{
"match": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 500.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "kunststoffe",
"boost": 200.0
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"productNumber.search": {
"query": "kunststoffe",
"boost": 500.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"productNumber.search": {
"query": "kunststoffe",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 700.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 420.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "kunststoffe",
"boost": 280.0
}
}
}
]
}
},
{
"nested": {
"path": "tags",
"query": {
"dis_max": {
"queries": [
{
"match": {
"tags.name.search": {
"query": "kunststoffe",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"tags.name.search": {
"query": "kunststoffe",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
}
}
},
{
"dis_max": {
"queries": [
{
"match": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 250.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 150.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "kunststoffe",
"boost": 100.0
}
}
}
]
}
},
{
"nested": {
"path": "categories",
"query": {
"dis_max": {
"queries": [
{
"match": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 200.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 120.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "kunststoffe",
"boost": 80.0
}
}
}
]
}
}
}
}
]
}
},
{
"bool": {
"should": [
{
"dis_max": {
"queries": [
{
"match": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 500.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "gmbh",
"boost": 200.0
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"productNumber.search": {
"query": "gmbh",
"boost": 500.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"productNumber.search": {
"query": "gmbh",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 700.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 420.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "gmbh",
"boost": 280.0
}
}
}
]
}
},
{
"nested": {
"path": "tags",
"query": {
"dis_max": {
"queries": [
{
"match": {
"tags.name.search": {
"query": "gmbh",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"tags.name.search": {
"query": "gmbh",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
}
}
},
{
"dis_max": {
"queries": [
{
"match": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 250.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 150.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "gmbh",
"boost": 100.0
}
}
}
]
}
},
{
"nested": {
"path": "categories",
"query": {
"dis_max": {
"queries": [
{
"match": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 200.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 120.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "gmbh",
"boost": 80.0
}
}
}
]
}
}
}
}
]
}
}
]
}
},
{
"bool": {
"should": [
{
"dis_max": {
"queries": [
{
"match": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 500.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"productNumber.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 500.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"productNumber.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 700.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 420.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"nested": {
"path": "tags",
"query": {
"dis_max": {
"queries": [
{
"match": {
"tags.name.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"tags.name.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
}
}
},
{
"dis_max": {
"queries": [
{
"match": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 250.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 150.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"nested": {
"path": "categories",
"query": {
"dis_max": {
"queries": [
{
"match": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 200.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 120.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
}
}
}
]
}
}
]
}
}
]
}
},
"sort": [
{
"_score": {
"order": "DESC"
}
},
{
"id": {
"order": "ASC"
}
}
],
"aggregations": {
"total-filtered-count": {
"filter": {
"terms": {
"manufacturerId": [
"01912bf6c72d71b896481ed8130f23ad"
]
}
},
"aggregations": {
"total-count": {
"cardinality": {
"field": "displayGroup"
}
}
}
}
},
"from": 0,
"size": 32,
"collapse": {
"field": "displayGroup"
},
"timeout": "5s"
}
Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher:search
|
| 2 |
20.19 ms |
Request:
{"index":"dev_product","track_total_hits":false,"body":{"query":{"bool":{"filter":[{"bool":{"must":[{"bool":{"must":[{"term":{"active":true}},{"range":{"visibility_08d2beb617754d2e9b8813e67fbd3a10":{"gte":20}}}]}},{"exists":{"field":"displayGroup"}},{"bool":{"must_not":[{"bool":{"must":[{"term":{"isCloseout":true}},{"term":{"available":false}}]}}]}}]}}],"must":[{"dis_max":{"queries":[{"bool":{"must":[{"bool":{"should":[{"dis_max":{"queries":[{"match":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":500.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":300.0,"slop":3,"max_expansions":10}}},{"match":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"climair","boost":200.0}}}]}},{"dis_max":{"queries":[{"match":{"productNumber.search":{"query":"climair","boost":500.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"productNumber.search":{"query":"climair","boost":300.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":700.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":420.0,"slop":3,"max_expansions":10}}},{"match":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"climair","boost":280.0}}}]}},{"nested":{"path":"tags","query":{"dis_max":{"queries":[{"match":{"tags.name.search":{"query":"climair","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"tags.name.search":{"query":"climair","boost":480.0,"slop":3,"max_expansions":10}}}]}}}},{"dis_max":{"queries":[{"match":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":480.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":250.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":150.0,"slop":3,"max_expansions":10}}},{"match":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"climair","boost":100.0}}}]}},{"nested":{"path":"categories","query":{"dis_max":{"queries":[{"match":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":200.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair","boost":120.0,"slop":3,"max_expansions":10}}},{"match":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"climair","boost":80.0}}}]}}}}]}},{"bool":{"should":[{"dis_max":{"queries":[{"match":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":500.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":300.0,"slop":3,"max_expansions":10}}},{"match":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"plava","boost":200.0}}}]}},{"dis_max":{"queries":[{"match":{"productNumber.search":{"query":"plava","boost":500.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"productNumber.search":{"query":"plava","boost":300.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":700.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":420.0,"slop":3,"max_expansions":10}}},{"match":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"plava","boost":280.0}}}]}},{"nested":{"path":"tags","query":{"dis_max":{"queries":[{"match":{"tags.name.search":{"query":"plava","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"tags.name.search":{"query":"plava","boost":480.0,"slop":3,"max_expansions":10}}}]}}}},{"dis_max":{"queries":[{"match":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":480.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":250.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":150.0,"slop":3,"max_expansions":10}}},{"match":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"plava","boost":100.0}}}]}},{"nested":{"path":"categories","query":{"dis_max":{"queries":[{"match":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":200.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"plava","boost":120.0,"slop":3,"max_expansions":10}}},{"match":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"plava","boost":80.0}}}]}}}}]}},{"bool":{"should":[{"dis_max":{"queries":[{"match":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":500.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":300.0,"slop":3,"max_expansions":10}}},{"match":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"kunststoffe","boost":200.0}}}]}},{"dis_max":{"queries":[{"match":{"productNumber.search":{"query":"kunststoffe","boost":500.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"productNumber.search":{"query":"kunststoffe","boost":300.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":700.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":420.0,"slop":3,"max_expansions":10}}},{"match":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"kunststoffe","boost":280.0}}}]}},{"nested":{"path":"tags","query":{"dis_max":{"queries":[{"match":{"tags.name.search":{"query":"kunststoffe","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"tags.name.search":{"query":"kunststoffe","boost":480.0,"slop":3,"max_expansions":10}}}]}}}},{"dis_max":{"queries":[{"match":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":480.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":250.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":150.0,"slop":3,"max_expansions":10}}},{"match":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"kunststoffe","boost":100.0}}}]}},{"nested":{"path":"categories","query":{"dis_max":{"queries":[{"match":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":200.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"kunststoffe","boost":120.0,"slop":3,"max_expansions":10}}},{"match":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"kunststoffe","boost":80.0}}}]}}}}]}},{"bool":{"should":[{"dis_max":{"queries":[{"match":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":500.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":300.0,"slop":3,"max_expansions":10}}},{"match":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"gmbh","boost":200.0}}}]}},{"dis_max":{"queries":[{"match":{"productNumber.search":{"query":"gmbh","boost":500.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"productNumber.search":{"query":"gmbh","boost":300.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":700.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":420.0,"slop":3,"max_expansions":10}}},{"match":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"gmbh","boost":280.0}}}]}},{"nested":{"path":"tags","query":{"dis_max":{"queries":[{"match":{"tags.name.search":{"query":"gmbh","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"tags.name.search":{"query":"gmbh","boost":480.0,"slop":3,"max_expansions":10}}}]}}}},{"dis_max":{"queries":[{"match":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":480.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":250.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":150.0,"slop":3,"max_expansions":10}}},{"match":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"gmbh","boost":100.0}}}]}},{"nested":{"path":"categories","query":{"dis_max":{"queries":[{"match":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":200.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"gmbh","boost":120.0,"slop":3,"max_expansions":10}}},{"match":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram":{"query":"gmbh","boost":80.0}}}]}}}}]}}]}},{"bool":{"should":[{"dis_max":{"queries":[{"match":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":500.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":300.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"productNumber.search":{"query":"climair plava kunststoffe gmbh","boost":500.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"productNumber.search":{"query":"climair plava kunststoffe gmbh","boost":300.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":700.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":420.0,"slop":3,"max_expansions":10}}}]}},{"nested":{"path":"tags","query":{"dis_max":{"queries":[{"match":{"tags.name.search":{"query":"climair plava kunststoffe gmbh","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"tags.name.search":{"query":"climair plava kunststoffe gmbh","boost":480.0,"slop":3,"max_expansions":10}}}]}}}},{"dis_max":{"queries":[{"match":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":800.0,"fuzziness":1,"operator":"and"}}},{"match_phrase_prefix":{"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":480.0,"slop":3,"max_expansions":10}}}]}},{"dis_max":{"queries":[{"match":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":250.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":150.0,"slop":3,"max_expansions":10}}}]}},{"nested":{"path":"categories","query":{"dis_max":{"queries":[{"match":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":200.0,"fuzziness":"auto","operator":"and"}}},{"match_phrase_prefix":{"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search":{"query":"climair plava kunststoffe gmbh","boost":120.0,"slop":3,"max_expansions":10}}}]}}}}]}}]}}]}},"aggregations":{"manufacturer":{"terms":{"field":"manufacturerId","size":10000}},"price":{"stats":{"script":{"source":"double getPrice(def accessors, def doc, def decimals, def round, def multiplier) {\n for (accessor in accessors) {\n def key = accessor['key'];\n\n if (!doc.containsKey(key) || doc[key].empty) {\n continue;\n }\n\n def factor = accessor['factor'];\n def value = doc[key].value * factor;\n\n value = Math.round(value * decimals);\n value = (double) value \/ decimals;\n\n if (!round) {\n return (double) value;\n }\n\n value = Math.round(value * multiplier);\n\n value = (double) value \/ multiplier;\n\n return (double) value;\n }\n\n return 0;\n}\n\nreturn getPrice(params['accessors'], doc, params['decimals'], params['round'], params['multiplier']);\n","lang":"painless","params":{"accessors":[{"key":"cheapest_price_rule76a1b37a7dbf4165b46c7ab2ff1a4841_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule56b8897938be44a48f5d23076fee8aa4_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179b5053d723cbcc2ffca7e2f1d37_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179b50593737ca9f4a6695a28df19_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179b505a971d6b33bc2b7f77ff188_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179b50779728dbd34b221819dbf1f_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179b5077e722793b82b3113582988_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019266bd95457bad916f0e7402a76e90_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule89396462b19442de853b499f33b78cef_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule8a3d72aab5a5468fa089505163f644f9_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rulef9da93f84ada4ccd8efd95692a615991_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule06c3e6c40cde40fb88ada175db3b7938_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed59dd72ecb5248c3701a4a9a7_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5a33735dadfaae7d48ee3774_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5a7373caa742a3ca2b474faa_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5abc7260ba0d7f86a5f49012_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5ae473cc8acbdbd09e697f1a_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5afd73938316ce5d62b21885_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5b3472fb8689bff52c36d24e_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5b47710cbb88d4cabe575530_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5b657021952452aa52c2f262_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5b887386bf07cbfb0c6dc4d9_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5bb77063b42436de2bb2654d_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5be971dfb78ef0b9ab954636_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5c0f732b83a6fa611b17c9b0_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5c1c72e1bd5dd45fa91ae988_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5c48709db0bb1d772acb893a_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5c61739288a8f19f5fee5c9f_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5c83710a9f725ed88fa40977_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5cb47127996aaac8a7f6bdbe_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5ce97102b94464fe862ca787_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5d78715b957280e0dd517331_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5e047192aaa473cfc729c45f_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5e987014b27850d1f01683cb_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5eb972a9811e6559447a6fdc_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5f01707fbf3a6adca420f5b1_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5f4a728eb343c4ceca55df24_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed5fc1716ab9e26008508a989e_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed601171ca8bcbf7c4e4b15d12_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed604073a8a7cc7283597bc561_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed6086727a8ed87d86b79ab028_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed60bb7173b3c5caa2b21a03e2_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed611b719b8c493426397e071b_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed616973d6ae87df29ca6fab45_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed617970548b9ab2028aaccee3_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed61d27021a6d3f256f1fe6301_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed6233707282cee72b0a78165c_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed629f739f81ef49fbfd3175b8_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed630d72bfb80b0b616e56f094_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed632870c88f4d50e0091bdc8d_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed6337724eaaf100fe723a9c73_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed63797281ae1e4a20fee27b7e_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed63a670b0b0b52d88b864e4db_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed63dc70b69dd94cbfea630307_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule019179ed63ff71859ac60b2064da4af9_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_rule892bba83aadf4e539a3c6a1446af67c3_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1},{"key":"cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross","factor":1}],"decimals":100,"round":true,"multiplier":100.0}}}},"rating-exists":{"filter":{"range":{"ratingAverage":{"gte":0.0}}},"aggregations":{"rating":{"max":{"field":"ratingAverage"}}}},"shipping-free-filter":{"filter":{"term":{"shippingFree":true}},"aggregations":{"shipping-free":{"max":{"field":"shippingFree"}}}},"properties":{"nested":{"path":"properties"},"aggregations":{"properties":{"terms":{"field":"properties.id","size":10000}}}},"options":{"nested":{"path":"options"},"aggregations":{"options":{"terms":{"field":"options.id","size":10000}}}}},"size":0,"timeout":"5s"},"search_type":"query_then_fetch"}
POST http://localhost:9200/dev_product/_search?track_total_hits=0&search_type=query_then_fetch
Accept: application/json
Content-Type: application/json
{
"query": {
"bool": {
"filter": [
{
"bool": {
"must": [
{
"bool": {
"must": [
{
"term": {
"active": true
}
},
{
"range": {
"visibility_08d2beb617754d2e9b8813e67fbd3a10": {
"gte": 20
}
}
}
]
}
},
{
"exists": {
"field": "displayGroup"
}
},
{
"bool": {
"must_not": [
{
"bool": {
"must": [
{
"term": {
"isCloseout": true
}
},
{
"term": {
"available": false
}
}
]
}
}
]
}
}
]
}
}
],
"must": [
{
"dis_max": {
"queries": [
{
"bool": {
"must": [
{
"bool": {
"should": [
{
"dis_max": {
"queries": [
{
"match": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 500.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "climair",
"boost": 200.0
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"productNumber.search": {
"query": "climair",
"boost": 500.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"productNumber.search": {
"query": "climair",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 700.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 420.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "climair",
"boost": 280.0
}
}
}
]
}
},
{
"nested": {
"path": "tags",
"query": {
"dis_max": {
"queries": [
{
"match": {
"tags.name.search": {
"query": "climair",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"tags.name.search": {
"query": "climair",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
}
}
},
{
"dis_max": {
"queries": [
{
"match": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 250.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 150.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "climair",
"boost": 100.0
}
}
}
]
}
},
{
"nested": {
"path": "categories",
"query": {
"dis_max": {
"queries": [
{
"match": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 200.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair",
"boost": 120.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "climair",
"boost": 80.0
}
}
}
]
}
}
}
}
]
}
},
{
"bool": {
"should": [
{
"dis_max": {
"queries": [
{
"match": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 500.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "plava",
"boost": 200.0
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"productNumber.search": {
"query": "plava",
"boost": 500.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"productNumber.search": {
"query": "plava",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 700.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 420.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "plava",
"boost": 280.0
}
}
}
]
}
},
{
"nested": {
"path": "tags",
"query": {
"dis_max": {
"queries": [
{
"match": {
"tags.name.search": {
"query": "plava",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"tags.name.search": {
"query": "plava",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
}
}
},
{
"dis_max": {
"queries": [
{
"match": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 250.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 150.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "plava",
"boost": 100.0
}
}
}
]
}
},
{
"nested": {
"path": "categories",
"query": {
"dis_max": {
"queries": [
{
"match": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 200.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "plava",
"boost": 120.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "plava",
"boost": 80.0
}
}
}
]
}
}
}
}
]
}
},
{
"bool": {
"should": [
{
"dis_max": {
"queries": [
{
"match": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 500.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "kunststoffe",
"boost": 200.0
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"productNumber.search": {
"query": "kunststoffe",
"boost": 500.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"productNumber.search": {
"query": "kunststoffe",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 700.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 420.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "kunststoffe",
"boost": 280.0
}
}
}
]
}
},
{
"nested": {
"path": "tags",
"query": {
"dis_max": {
"queries": [
{
"match": {
"tags.name.search": {
"query": "kunststoffe",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"tags.name.search": {
"query": "kunststoffe",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
}
}
},
{
"dis_max": {
"queries": [
{
"match": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 250.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 150.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "kunststoffe",
"boost": 100.0
}
}
}
]
}
},
{
"nested": {
"path": "categories",
"query": {
"dis_max": {
"queries": [
{
"match": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 200.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "kunststoffe",
"boost": 120.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "kunststoffe",
"boost": 80.0
}
}
}
]
}
}
}
}
]
}
},
{
"bool": {
"should": [
{
"dis_max": {
"queries": [
{
"match": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 500.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "gmbh",
"boost": 200.0
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"productNumber.search": {
"query": "gmbh",
"boost": 500.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"productNumber.search": {
"query": "gmbh",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 700.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 420.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "gmbh",
"boost": 280.0
}
}
}
]
}
},
{
"nested": {
"path": "tags",
"query": {
"dis_max": {
"queries": [
{
"match": {
"tags.name.search": {
"query": "gmbh",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"tags.name.search": {
"query": "gmbh",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
}
}
},
{
"dis_max": {
"queries": [
{
"match": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 250.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 150.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "gmbh",
"boost": 100.0
}
}
}
]
}
},
{
"nested": {
"path": "categories",
"query": {
"dis_max": {
"queries": [
{
"match": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 200.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "gmbh",
"boost": 120.0,
"slop": 3,
"max_expansions": 10
}
}
},
{
"match": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.ngram": {
"query": "gmbh",
"boost": 80.0
}
}
}
]
}
}
}
}
]
}
}
]
}
},
{
"bool": {
"should": [
{
"dis_max": {
"queries": [
{
"match": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 500.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"metaDescription.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"productNumber.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 500.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"productNumber.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 300.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 700.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 420.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"nested": {
"path": "tags",
"query": {
"dis_max": {
"queries": [
{
"match": {
"tags.name.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"tags.name.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
}
}
},
{
"dis_max": {
"queries": [
{
"match": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 800.0,
"fuzziness": 1,
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"customSearchKeywords.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 480.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"match": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 250.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"description.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 150.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
},
{
"nested": {
"path": "categories",
"query": {
"dis_max": {
"queries": [
{
"match": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 200.0,
"fuzziness": "auto",
"operator": "and"
}
}
},
{
"match_phrase_prefix": {
"categories.name.2fbb5fe2e29a4d70aa5854ce7ce3e20b.search": {
"query": "climair plava kunststoffe gmbh",
"boost": 120.0,
"slop": 3,
"max_expansions": 10
}
}
}
]
}
}
}
}
]
}
}
]
}
}
]
}
},
"aggregations": {
"manufacturer": {
"terms": {
"field": "manufacturerId",
"size": 10000
}
},
"price": {
"stats": {
"script": {
"source": "double getPrice(def accessors, def doc, def decimals, def round, def multiplier) {\n for (accessor in accessors) {\n def key = accessor['key'];\n\n if (!doc.containsKey(key) || doc[key].empty) {\n continue;\n }\n\n def factor = accessor['factor'];\n def value = doc[key].value * factor;\n\n value = Math.round(value * decimals);\n value = (double) value \/ decimals;\n\n if (!round) {\n return (double) value;\n }\n\n value = Math.round(value * multiplier);\n\n value = (double) value \/ multiplier;\n\n return (double) value;\n }\n\n return 0;\n}\n\nreturn getPrice(params['accessors'], doc, params['decimals'], params['round'], params['multiplier']);\n",
"lang": "painless",
"params": {
"accessors": [
{
"key": "cheapest_price_rule76a1b37a7dbf4165b46c7ab2ff1a4841_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule56b8897938be44a48f5d23076fee8aa4_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179b5053d723cbcc2ffca7e2f1d37_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179b50593737ca9f4a6695a28df19_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179b505a971d6b33bc2b7f77ff188_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179b50779728dbd34b221819dbf1f_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179b5077e722793b82b3113582988_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019266bd95457bad916f0e7402a76e90_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule89396462b19442de853b499f33b78cef_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule8a3d72aab5a5468fa089505163f644f9_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rulef9da93f84ada4ccd8efd95692a615991_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule06c3e6c40cde40fb88ada175db3b7938_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed59dd72ecb5248c3701a4a9a7_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5a33735dadfaae7d48ee3774_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5a7373caa742a3ca2b474faa_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5abc7260ba0d7f86a5f49012_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5ae473cc8acbdbd09e697f1a_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5afd73938316ce5d62b21885_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5b3472fb8689bff52c36d24e_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5b47710cbb88d4cabe575530_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5b657021952452aa52c2f262_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5b887386bf07cbfb0c6dc4d9_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5bb77063b42436de2bb2654d_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5be971dfb78ef0b9ab954636_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5c0f732b83a6fa611b17c9b0_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5c1c72e1bd5dd45fa91ae988_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5c48709db0bb1d772acb893a_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5c61739288a8f19f5fee5c9f_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5c83710a9f725ed88fa40977_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5cb47127996aaac8a7f6bdbe_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5ce97102b94464fe862ca787_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5d78715b957280e0dd517331_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5e047192aaa473cfc729c45f_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5e987014b27850d1f01683cb_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5eb972a9811e6559447a6fdc_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5f01707fbf3a6adca420f5b1_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5f4a728eb343c4ceca55df24_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed5fc1716ab9e26008508a989e_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed601171ca8bcbf7c4e4b15d12_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed604073a8a7cc7283597bc561_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed6086727a8ed87d86b79ab028_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed60bb7173b3c5caa2b21a03e2_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed611b719b8c493426397e071b_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed616973d6ae87df29ca6fab45_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed617970548b9ab2028aaccee3_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed61d27021a6d3f256f1fe6301_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed6233707282cee72b0a78165c_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed629f739f81ef49fbfd3175b8_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed630d72bfb80b0b616e56f094_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed632870c88f4d50e0091bdc8d_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed6337724eaaf100fe723a9c73_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed63797281ae1e4a20fee27b7e_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed63a670b0b0b52d88b864e4db_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed63dc70b69dd94cbfea630307_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule019179ed63ff71859ac60b2064da4af9_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_rule892bba83aadf4e539a3c6a1446af67c3_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
},
{
"key": "cheapest_price_ruledefault_currencyb7d2554b0ce847cd82f3ac9bd1c0dfca_gross",
"factor": 1
}
],
"decimals": 100,
"round": true,
"multiplier": 100.0
}
}
}
},
"rating-exists": {
"filter": {
"range": {
"ratingAverage": {
"gte": 0.0
}
}
},
"aggregations": {
"rating": {
"max": {
"field": "ratingAverage"
}
}
}
},
"shipping-free-filter": {
"filter": {
"term": {
"shippingFree": true
}
},
"aggregations": {
"shipping-free": {
"max": {
"field": "shippingFree"
}
}
}
},
"properties": {
"nested": {
"path": "properties"
},
"aggregations": {
"properties": {
"terms": {
"field": "properties.id",
"size": 10000
}
}
}
},
"options": {
"nested": {
"path": "options"
},
"aggregations": {
"options": {
"terms": {
"field": "options.id",
"size": 10000
}
}
}
}
},
"size": 0,
"timeout": "5s"
}
Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntityAggregator:aggregate
|