Untitled
unknown
plain_text
a year ago
75 kB
0
Indexable
Never
{ "size": 0, "timeout": "180000ms", "query": { "constant_score": { "filter": { "bool": { "must": { "bool": { "must": [ { "bool": { "must": [ { "bool": { "should": [ { "bool": { "should": [ { "bool": { "must": { "spr_query_string": { "query": "\"alula moments\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "zu", "add.qsM": "zu", "m": "zu" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"لحظات العلا\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"#alulamoments\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "analyzer": "spr_punc" } } } } ] } }, { "bool": { "should": [ { "bool": { "must": { "spr_query_string": { "query": "\"experience alula\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "en", "add.qsM": "en", "m": "en" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"استكشف العلا\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } } ] } }, { "bool": { "should": [ { "bool": { "must": { "spr_query_string": { "query": "\"alula club\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "zu", "add.qsM": "zu", "m": "zu" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"نادي العلا\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } } ] } }, { "bool": { "should": [ { "bool": { "must": { "spr_query_string": { "query": "\"alula fm\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "zu", "add.qsM": "zu", "m": "zu" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"العلا اف ام\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"اذاعة العلا\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"العلاـافـام\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } } ] } }, { "bool": { "should": [ { "bool": { "must": { "spr_query_string": { "query": "\"arts alula\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "zu", "add.qsM": "zu", "m": "zu" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"فنون العلا\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } } ] } }, { "bool": { "should": [ { "bool": { "must": { "spr_query_string": { "query": "\"film\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "en", "add.qsM": "en", "m": "en" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"فيلم العلا\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } } ] } }, { "bool": { "should": [ { "bool": { "must": { "spr_query_string": { "query": "\"the livim museum\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "en", "add.qsM": "en", "m": "en" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"المتحف الحي\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"المتحف_الحي\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "analyzer": "spr_punc" } } } } ] } }, { "bool": { "should": [ { "bool": { "must": { "spr_query_string": { "query": "\"vibes alula\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "zu", "add.qsM": "zu", "m": "zu" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"ڤايبز العلا\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } } ] } } ] } }, { "terms": { "mTp": [ 115 ] } }, { "bool": { "must_not": { "terms": { "add.prS": [ "tve", "eClips", "fac" ] } } } }, { "bool": { "should": [ { "terms": { "pIds": [ "prod3_160214" ] } }, { "bool": { "must_not": { "exists": { "field": "pIds" } } } } ] } } ] } }, { "range": { "t": { "from": 1104537600000, "to": 1695752999999, "include_lower": true, "include_upper": true } } } ] } }, "must_not": { "bool": { "should": [ { "terms": { "n.aiT.t": [ "7" ] } }, { "bool": { "must": [ { "terms": { "add.domain": [ "heraldsun.com.au", "themercury.com.au", "adelaidenow.com.au", "goldcoastbulletin.com.au", "dailytelegraph.com.au", "ntnews.com.au", "news.com.au", "geelongadvertiser.com.au", "theaustralian.com.au", "skynews.com.au", "thechronicle.com.au", "cairnspost.com.au", "weeklytimesnow.com.au", "townsvillebulletin.com.au", "couriermail.com.au" ] } }, { "bool": { "must_not": { "terms": { "add.iUDA": [ "true" ] } } } } ] } } ] } } } } } }, "aggregations": { "651178e266a86fcf72cf27b6": { "filter": { "match_all": {} }, "aggregations": { "CREATED_TIME_0": { "date_histogram": { "field": "t", "interval": "1d", "min_doc_count": 1, "time_zone": "Asia/Kolkata" }, "aggregations": { "STORY_QUERY_ID_1": { "filters": { "filters": { "64e77d9ab985ce2cc932efb8": { "bool": { "should": [ { "bool": { "must": { "spr_query_string": { "query": "\"alula moments\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "zu", "add.qsM": "zu", "m": "zu" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"لحظات العلا\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"#alulamoments\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "analyzer": "spr_punc" } } } } ] } }, "64e77fb2b985ce2cc93424a1": { "bool": { "should": [ { "bool": { "must": { "spr_query_string": { "query": "\"experience alula\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "en", "add.qsM": "en", "m": "en" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"استكشف العلا\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } } ] } }, "64e783a7b985ce2cc9363e5c": { "bool": { "should": [ { "bool": { "must": { "spr_query_string": { "query": "\"alula club\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "zu", "add.qsM": "zu", "m": "zu" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"نادي العلا\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } } ] } }, "64e78b61b985ce2cc939ec1c": { "bool": { "should": [ { "bool": { "must": { "spr_query_string": { "query": "\"alula fm\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "zu", "add.qsM": "zu", "m": "zu" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"العلا اف ام\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"اذاعة العلا\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"العلاـافـام\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } } ] } }, "64e78c53b985ce2cc93a4f1e": { "bool": { "should": [ { "bool": { "must": { "spr_query_string": { "query": "\"arts alula\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "zu", "add.qsM": "zu", "m": "zu" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"فنون العلا\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } } ] } }, "64e78e45b985ce2cc93b12ce": { "bool": { "should": [ { "bool": { "must": { "spr_query_string": { "query": "\"film\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "en", "add.qsM": "en", "m": "en" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"فيلم العلا\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } } ] } }, "64e791c4b985ce2cc93c5fea": { "bool": { "should": [ { "bool": { "must": { "spr_query_string": { "query": "\"the livim museum\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "en", "add.qsM": "en", "m": "en" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"المتحف الحي\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"المتحف_الحي\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "analyzer": "spr_punc" } } } } ] } }, "64e79306b985ce2cc93cd63e": { "bool": { "should": [ { "bool": { "must": { "spr_query_string": { "query": "\"vibes alula\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "zu", "add.qsM": "zu", "m": "zu" } } } } }, { "bool": { "must": { "spr_query_string": { "query": "\"ڤايبز العلا\"", "fields": [ "add.t^25.0", "add.qsM", "m" ], "extra_analyzer_per_field": { "add.t": "ar", "add.qsM": "ar", "m": "ar" } } } } } ] } } } }, "aggregations": { "M_STORY_MESSAGE_EARNED_ENGAGEMENTS_NEWS_0": { "sum": { "script": { "inline": "String mTp=doc['mTp'].value.toString();if(mTp!='115' && mTp!='98') return 0;long result=0;result+=doc['sT.lscT'].value!=null?doc['sT.lscT'].value:0;result+=doc['sT.lscF'].value!=null?doc['sT.lscF'].value:0;result+=doc['sT.lscR'].value!=null?doc['sT.lscR'].value:0;result+=doc['sT.lFbrC'].value!=null?doc['sT.lFbrC'].value:0;result+=doc['sT.lFbcC'].value!=null?doc['sT.lFbcC'].value:0;return result;", "lang": "painless" } } } } } } } } } } }