Question: You will be creating at least five queries in MongoDB as social media analytics on th queries are guided below and the fifth query can
You will be creating at least five queries in MongoDB as social media analytics on th queries are guided below and the fifth query can be any query you choose. In order t create an index on every key in the twitter_feed collection. To do this use the comma create an index on all fields and subfields in a document). Use the mongo client to ru db. twitter_feed. createIndex( {"$**": "text"}) The queries will be written in python using pymongo. Open the finalProjectQueriesS queries. Query 1: You are interested in the top 10 most active twitter accounts by tweet_coun parks, however you may be using a different example. To create this query, you will the following stages: group, sort, limit use the TwitterHandle as the _id when you ar Query 2: Let's delve into the users. The user object contains quite a bit of information tweets. We would like to see tweets from people with a high follower count. For exa followers wer 100002
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
