{
"query": {
"bool": {
"must": [
{
"nested": {
"path": "topics",
"query": {
"bool": {
"should": [
{
"match_phrase": {
"topics.label": {
"query": "\/Science\/Engineering & Technology"
}
}
},
{
"match_phrase": {
"topics.label": {
"query": "\/Science\/Computer Science"
}
}
},
{
"match_phrase": {
"topics.label": {
"query": "\/Computers & Electronics\/Programming"
}
}
}
],
"must": [
{
"range": {
"topics.probability": {
"gte": 0.5
}
}
}
],
"minimum_should_match": 1
}
}
}
},
{
"bool": {
"should": [
{
"match_phrase": {
"hashtags_text": {
"query": "#machinelearning"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "artificalintelligence"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#tensorflow"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#keras"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "openai"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#ibm"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#hadoop"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#spark"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#apache"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#regression"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#backpropogation"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#bagging"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#bayesianstatistics"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#bigdata"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#binomial"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#binaryvariable"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#boosting"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#businessanalytics"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#analytics"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#businessintelligence"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#classification"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#clutstering"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#computervision"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#convergence"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#costfunction"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#consinesimilarity"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#datamining"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#dataframe"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#dataset"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#decisiontree"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#dbscan"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#deeplearning"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#prediction"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#gradient"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#kmeans"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#knn"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#rnn"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#lstm"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#mapreduce"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#mahout"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#numpy"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#nosql"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#overfitting"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#model"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#dataset"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#supervised"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#supervisedlearning"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#semisupervised"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#pytorch"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#torch"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#kafka"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#zookeeper"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#python"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#datascientists"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#learning"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#machine"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#instantinsight"
}
}
},
{
"match_phrase": {
"hashtags_text": {
"query": "#facebook"
}
}
}
]
}
},
{
"match": {
"language": {
"query": "en"
}
}
},
{
"range": {
"post_date": {
"gte": "2019-03-09 07:07:57",
"lte": "2019-04-08 07:07:57",
"format": "yyyy-MM-dd HH:mm:ss"
}
}
}
],
"must_not": [
{
"exists": {
"field": "is_related"
}
},
{
"terms": {
"id": [
"001c9cbc-ae7c-48bc-897a-4a93b10f37c9",
"af711294-0129-4db5-854f-f9843319ad74",
"696ca025-5fa8-46ce-b3ef-ed7aa6ab65e3",
"30564e4c-4a4e-4bc3-9502-94233a93cd0a",
"73a6a85c-cad7-4a81-9441-22c3215dbf8b",
"c20f559b-752a-42d8-9bac-ce4322c8b1c0",
"b505ef11-ab12-4b6b-a979-39b4ebb50c47",
"7e8a4c32-a4a5-495e-8d3f-f392929990e8",
"c20f559b-752a-42d8-9bac-ce4322c8b1c0",
"fee70c5a-27f7-4d70-afb1-c07673e0fde0",
"bd341064-f375-43c5-b2c0-906d14f16628",
"557b18d2-92d9-4f13-ba2b-78dfeb98b0cc",
"ceb37d93-dab2-428e-960f-5392a6f4c781"
]
}
},
{
"terms": {
"domain_id": [
"58d4d49706e8014b267761d1"
]
}
},
{
"terms": {
"rss_id": [
"5c10e016051a42509d344339",
"5c10e06c051a42509d354ec3",
"5c10e016051a42509d3443f7"
]
}
}
]
}
},
"sort": [
{
"total_stats": {
"mode": "avg",
"order": "desc"
}
}
],
"from": 0,
"size": 20,
"_source": {
"includes": [
"id",
"categories",
"topics",
"resized_url",
"image",
"title",
"domain_url",
"domain_id",
"rss_id",
"rss_url",
"twitter_accounts",
"post_date",
"read_time",
"has_abstract",
"facebook_shares",
"pins",
"velocity",
"sentiment",
"url",
"hashtags_text",
"author",
"twitter_accounts",
"twitter_handler",
"reddit",
"subdomain",
"article_keywords",
"related_ids_count",
"language",
"entities"
]
}
}