Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "query": {
- "has_child": {
- "query": {
- "bool": {
- "filter": [
- {
- "bool": {
- "should": [
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*pellicule .*cheveux.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*cheveux.* sec.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*pellicule .*grasse|cheveux.* grasse.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*traitement.* cuir chevelu.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*cuir chevelu sec.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*antipelliculaire.*natur(a|e)l.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*dermite s(é|e)borr?h(é|e)ique.* cuir chevelu.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*meilleur.*shampoo.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*cheveux (à|a) pellicule.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*shampo.* sans sulfate.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*shampo.*pel?liculaire.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*pel?liculaire.*shampoo.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*l.?or(e|é)al.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*garnier fructis.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*kerastase.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*pant(e|é)ne.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*schwarzkopf.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*heads? (and |& )?shoulder.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*els(è|e)ve.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*petit marseillais.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*p(e|é)trole hahn.*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- },
- {
- "regexp": {
- "GoogleSearch.keyword.raw": {
- "value": ".*(^| )wella($| ).*",
- "flags_value": 65535,
- "max_determinized_states": 10000,
- "boost": 1
- }
- }
- }
- ],
- "adjust_pure_negative": true,
- "boost": 1
- }
- }
- ],
- "adjust_pure_negative": true,
- "boost": 1
- }
- },
- "type": "action",
- "score_mode": "none",
- "min_children": 0,
- "max_children": 2147483647,
- "ignore_unmapped": false,
- "boost": 1
- }
- },
- "aggregations": {
- "ids": {
- "terms": {
- "field": "uuid",
- "size": 1,
- "min_doc_count": 1,
- "shard_min_doc_count": 0,
- "show_term_doc_count_error": false,
- "order": [
- {
- "_count": "desc"
- },
- {
- "_key": "asc"
- }
- ]
- }
- },
- "Gender": {
- "terms": {
- "field": "gender",
- "size": 1000,
- "min_doc_count": 1,
- "shard_min_doc_count": 0,
- "show_term_doc_count_error": false,
- "order": [
- {
- "_count": "desc"
- },
- {
- "_key": "asc"
- }
- ]
- }
- },
- "Age": {
- "terms": {
- "field": "age_group",
- "size": 1000,
- "min_doc_count": 1,
- "shard_min_doc_count": 0,
- "show_term_doc_count_error": false,
- "order": [
- {
- "_count": "desc"
- },
- {
- "_key": "asc"
- }
- ]
- }
- },
- "Country": {
- "terms": {
- "field": "country",
- "size": 1000,
- "min_doc_count": 1,
- "shard_min_doc_count": 0,
- "show_term_doc_count_error": false,
- "order": [
- {
- "_count": "desc"
- },
- {
- "_key": "asc"
- }
- ]
- }
- },
- "REGION": {
- "terms": {
- "field": "region",
- "size": 1000,
- "min_doc_count": 1,
- "shard_min_doc_count": 0,
- "show_term_doc_count_error": false,
- "order": [
- {
- "_count": "desc"
- },
- {
- "_key": "asc"
- }
- ]
- }
- },
- "Device": {
- "terms": {
- "field": "platform",
- "size": 1000,
- "min_doc_count": 1,
- "shard_min_doc_count": 0,
- "show_term_doc_count_error": false,
- "order": [
- {
- "_count": "desc"
- },
- {
- "_key": "asc"
- }
- ]
- }
- },
- "children": {
- "children": {
- "type": "action"
- },
- "aggregations": {
- "TopAmazonSearch": {
- "terms": {
- "field": "AmazonOnSiteSearch.keyword.raw",
- "size": 10,
- "min_doc_count": 1,
- "shard_min_doc_count": 0,
- "show_term_doc_count_error": false,
- "order": [
- {
- "_count": "desc"
- },
- {
- "_key": "asc"
- }
- ]
- }
- },
- "TopGoogleSearch": {
- "terms": {
- "field": "GoogleSearch.keyword.raw",
- "size": 10,
- "min_doc_count": 1,
- "shard_min_doc_count": 0,
- "show_term_doc_count_error": false,
- "order": [
- {
- "_count": "desc"
- },
- {
- "_key": "asc"
- }
- ]
- }
- },
- "TopLandingDomains": {
- "terms": {
- "field": "GoogleSearch.landing_domain",
- "size": 10,
- "min_doc_count": 1,
- "shard_min_doc_count": 0,
- "show_term_doc_count_error": false,
- "order": [
- {
- "_count": "desc"
- },
- {
- "_key": "asc"
- }
- ]
- }
- },
- "TopProductPages": {
- "terms": {
- "field": "AmazonProductPage.page_url.raw",
- "size": 10,
- "min_doc_count": 1,
- "shard_min_doc_count": 0,
- "show_term_doc_count_error": false,
- "order": [
- {
- "_count": "desc"
- },
- {
- "_key": "asc"
- }
- ]
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement