Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8018287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:05:50+00:00 2026-06-04T21:05:50+00:00

I am trying to design my first NoSQL database, and as an example I

  • 0

I am trying to design my first NoSQL database, and as an example I am trying to grab content from Twitter. I have though some difficulties deciding how to structure the document.

If I am grabbing from several tags (e.g. #Programming #stackoverflow #nosql etc.) each day, how should I structure the documents so they doesn’t grow too large and I still can do analytics based on all the tags?

I thought of creating documents like this:

/{day}/{hashtag}

This would get me the following:

/28052012/Programming

/28052012/StackOverflow 

/28052012/NoSql

But how would I then get the latest 5 Tweets from the combined hashtags?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T21:05:52+00:00Added an answer on June 4, 2026 at 9:05 pm

    You should use $or operator. It can use indexes and will allow you to perform efficient queries.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to design a database model and I have a question. I need
I am trying to design my first Android application with the use of GPS.
I'm trying to learn EF using code first, i dont know how to design
Intro I am in the process of trying to convert my first HTML/CSS design
I am trying to design my database to where the transaction Table(TransactionId(PK), ItemListNoId(FK), StoreId(FK),
I am trying to design a Infrastructure libraries for my company. Libraries will have
I'm a new REST convert and I'm trying to design my first RESTful (hopefully)
I have an App that I am trying to design the data model for.
I'm trying to design a database for a sports meeting. I think I've got
I'm trying to design a page that has two columns of content, div#left and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.