query bool must match language query en range post_date gte 2019-12-20

1
{"query":{"bool":{"must":[{"match":{"language":{"query":"en"}}},{"range":{"post_date":{"gte":"2019-12-20","lte":"2020-03-19","format":"yyyy-MM-dd"}}},{"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"}}},{"match_phrase":{"title":{"query":"&"}}}],"minimum_should_match":1}}}},{"bool":{"should":[{"match_phrase":{"hashtags_text":{"query":"#machinelearning","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#machinelearning","boost":10}}},{"match_phrase":{"entities":{"query":"machinelearning","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"artificalintelligence","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"artificalintelligence","boost":10}}},{"match_phrase":{"entities":{"query":"artificalintelligence","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#tensorflow","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#tensorflow","boost":10}}},{"match_phrase":{"entities":{"query":"tensorflow","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#keras","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#keras","boost":10}}},{"match_phrase":{"entities":{"query":"keras","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"openai","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"openai","boost":10}}},{"match_phrase":{"entities":{"query":"openai","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#ibm","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#ibm","boost":10}}},{"match_phrase":{"entities":{"query":"ibm","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#hadoop","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#hadoop","boost":10}}},{"match_phrase":{"entities":{"query":"hadoop","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#spark","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#spark","boost":10}}},{"match_phrase":{"entities":{"query":"spark","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#apache","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#apache","boost":10}}},{"match_phrase":{"entities":{"query":"apache","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#regression","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#regression","boost":10}}},{"match_phrase":{"entities":{"query":"regression","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#backpropogation","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#backpropogation","boost":10}}},{"match_phrase":{"entities":{"query":"backpropogation","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#bagging","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#bagging","boost":10}}},{"match_phrase":{"entities":{"query":"bagging","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#bayesianstatistics","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#bayesianstatistics","boost":10}}},{"match_phrase":{"entities":{"query":"bayesianstatistics","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#bigdata","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#bigdata","boost":10}}},{"match_phrase":{"entities":{"query":"bigdata","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#binomial","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#binomial","boost":10}}},{"match_phrase":{"entities":{"query":"binomial","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#binaryvariable","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#binaryvariable","boost":10}}},{"match_phrase":{"entities":{"query":"binaryvariable","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#boosting","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#boosting","boost":10}}},{"match_phrase":{"entities":{"query":"boosting","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#businessanalytics","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#businessanalytics","boost":10}}},{"match_phrase":{"entities":{"query":"businessanalytics","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#analytics","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#analytics","boost":10}}},{"match_phrase":{"entities":{"query":"analytics","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#businessintelligence","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#businessintelligence","boost":10}}},{"match_phrase":{"entities":{"query":"businessintelligence","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#classification","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#classification","boost":10}}},{"match_phrase":{"entities":{"query":"classification","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#clutstering","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#clutstering","boost":10}}},{"match_phrase":{"entities":{"query":"clutstering","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#computervision","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#computervision","boost":10}}},{"match_phrase":{"entities":{"query":"computervision","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#convergence","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#convergence","boost":10}}},{"match_phrase":{"entities":{"query":"convergence","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#costfunction","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#costfunction","boost":10}}},{"match_phrase":{"entities":{"query":"costfunction","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#consinesimilarity","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#consinesimilarity","boost":10}}},{"match_phrase":{"entities":{"query":"consinesimilarity","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#datamining","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#datamining","boost":10}}},{"match_phrase":{"entities":{"query":"datamining","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#dataframe","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#dataframe","boost":10}}},{"match_phrase":{"entities":{"query":"dataframe","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#dataset","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#dataset","boost":10}}},{"match_phrase":{"entities":{"query":"dataset","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#decisiontree","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#decisiontree","boost":10}}},{"match_phrase":{"entities":{"query":"decisiontree","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#dbscan","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#dbscan","boost":10}}},{"match_phrase":{"entities":{"query":"dbscan","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#deeplearning","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#deeplearning","boost":10}}},{"match_phrase":{"entities":{"query":"deeplearning","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#prediction","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#prediction","boost":10}}},{"match_phrase":{"entities":{"query":"prediction","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#gradient","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#gradient","boost":10}}},{"match_phrase":{"entities":{"query":"gradient","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#kmeans","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#kmeans","boost":10}}},{"match_phrase":{"entities":{"query":"kmeans","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#knn","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#knn","boost":10}}},{"match_phrase":{"entities":{"query":"knn","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#rnn","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#rnn","boost":10}}},{"match_phrase":{"entities":{"query":"rnn","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#lstm","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#lstm","boost":10}}},{"match_phrase":{"entities":{"query":"lstm","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#mapreduce","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#mapreduce","boost":10}}},{"match_phrase":{"entities":{"query":"mapreduce","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#mahout","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#mahout","boost":10}}},{"match_phrase":{"entities":{"query":"mahout","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#numpy","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#numpy","boost":10}}},{"match_phrase":{"entities":{"query":"numpy","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#nosql","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#nosql","boost":10}}},{"match_phrase":{"entities":{"query":"nosql","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#overfitting","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#overfitting","boost":10}}},{"match_phrase":{"entities":{"query":"overfitting","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#model","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#model","boost":10}}},{"match_phrase":{"entities":{"query":"model","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#dataset","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#dataset","boost":10}}},{"match_phrase":{"entities":{"query":"dataset","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#supervised","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#supervised","boost":10}}},{"match_phrase":{"entities":{"query":"supervised","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#supervisedlearning","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#supervisedlearning","boost":10}}},{"match_phrase":{"entities":{"query":"supervisedlearning","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#semisupervised","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#semisupervised","boost":10}}},{"match_phrase":{"entities":{"query":"semisupervised","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#pytorch","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#pytorch","boost":10}}},{"match_phrase":{"entities":{"query":"pytorch","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#torch","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#torch","boost":10}}},{"match_phrase":{"entities":{"query":"torch","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#kafka","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#kafka","boost":10}}},{"match_phrase":{"entities":{"query":"kafka","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#zookeeper","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#zookeeper","boost":10}}},{"match_phrase":{"entities":{"query":"zookeeper","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#python","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#python","boost":10}}},{"match_phrase":{"entities":{"query":"python","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#datascientists","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#datascientists","boost":10}}},{"match_phrase":{"entities":{"query":"datascientists","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#learning","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#learning","boost":10}}},{"match_phrase":{"entities":{"query":"learning","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#machine","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#machine","boost":10}}},{"match_phrase":{"entities":{"query":"machine","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#instantinsight","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#instantinsight","boost":10}}},{"match_phrase":{"entities":{"query":"instantinsight","boost":3}}},{"match_phrase":{"hashtags_text":{"query":"#facebook","boost":10}}},{"match_phrase":{"twitter_hashtags":{"query":"#facebook","boost":10}}},{"match_phrase":{"entities":{"query":"facebook","boost":3}}}]}},{"range":{"word_count":{"gte":50}}}],"must_not":[{"exists":{"field":"is_related"}}]}},"sort":[{"total_stats":{"mode":"avg","order":"desc"}}],"aggregations":{"articles_published_per_day":{"date_histogram":{"field":"post_date","interval":"day","missing":0},"aggregations":{"facebook_shares":{"sum":{"field":"facebook_shares"}},"avg_stats":{"avg":{"field":"total_stats"}},"pins":{"sum":{"field":"pins"}},"sentiment":{"nested":{"path":"sentiment"},"aggregations":{"sentiment_labels":{"terms":{"field":"sentiment.label"},"aggregations":{"social_shares":{"reverse_nested":{},"aggregations":{"avg_social_stats":{"avg":{"field":"total_stats"}}}}}}}}}},"articles_published_per_day_for_engaging_day":{"date_histogram":{"field":"post_date","interval":"day","missing":0},"aggregations":{"facebook_shares":{"sum":{"field":"facebook_shares"}},"avg_stats":{"avg":{"field":"total_stats"}},"pins":{"sum":{"field":"pins"}},"sentiment":{"nested":{"path":"sentiment"},"aggregations":{"sentiment_labels":{"terms":{"field":"sentiment.label"},"aggregations":{"social_shares":{"reverse_nested":{},"aggregations":{"avg_social_stats":{"avg":{"field":"total_stats"}}}}}}}}}},"categories_list":{"terms":{"field":"categories"},"aggregations":{"average":{"avg":{"field":"total_stats"}}}},"total_stats":{"sum":{"field":"total_stats"}},"total_twitter_shares":{"sum":{"field":"twitter_shares"}},"average_twitter":{"avg":{"field":"twitter_shares"}},"average_stats":{"avg":{"field":"total_stats"}},"average_facebook":{"avg":{"field":"facebook_shares"}},"average_pins":{"avg":{"field":"pins"}},"total_facebook":{"sum":{"field":"facebook_shares"}},"total_pins":{"sum":{"field":"pins"}},"total_reddit":{"sum":{"field":"reddit"}},"average_reddit":{"avg":{"field":"pins"}},"average_sentiment_statistics":{"nested":{"path":"sentiment"},"aggregations":{"sentiment_labels":{"terms":{"field":"sentiment.label"},"aggregations":{"social_shares":{"reverse_nested":{},"aggregations":{"average_engagements":{"avg":{"field":"total_stats"}}}}}}}},"top_domains":{"terms":{"field":"subdomain","size":20},"aggregations":{"total_interactions":{"sum":{"field":"total_stats"}},"average_interactions":{"avg":{"field":"total_stats"}}}},"top_authors":{"terms":{"field":"author.raw","size":20},"aggregations":{"total_interactions":{"sum":{"field":"total_stats"}},"average_interactions":{"avg":{"field":"total_stats"}}}},"top_popular_hashtags":{"terms":{"field":"hashtags","size":50}},"popular_word_count":{"histogram":{"field":"word_count","interval":500,"min_doc_count":10,"missing":0},"aggregations":{"avg_stats":{"avg":{"field":"total_stats"}}}},"temporarily_popular_word_count":{"histogram":{"field":"word_count","interval":1000,"min_doc_count":10,"missing":0},"aggregations":{"avg_stats":{"avg":{"field":"total_stats"}}}},"popular_reading_levels":{"terms":{"field":"readability_level"},"aggregations":{"avg_stats":{"avg":{"field":"total_stats"}}}}},"size":0}