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 8349371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T07:58:32+00:00 2026-06-09T07:58:32+00:00

We are scraping a huge products website. So, we will get and persist so

  • 0

We are scraping a huge products website.

So, we will get and persist so many products, and almost each product has a different set of features/details.

Naturally, we consider using a NoSQL database (MongoDB) for this job. We will make a collection “products”, and a document for each product where each key/value pair map to detail_name/detail_description of the product.

Since products are quite different, we have almost no idea what are the product details/features. In other words, we have no knowledge of the available keys.

According to this link MongoDB case insensitive key search, It is a “gap” for MongoDB (that we do not have some idea of the available keys).

Is this true? If yes, what are the alternatives?

  • 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-09T07:58:33+00:00Added an answer on June 9, 2026 at 7:58 am

    Your key problem isn’t that much of an issue for MongoDB provided you can live with a slightly different schema and big indexes :

    Normally you would do something like :

    {
        productId :..
        details : {
            detailName1 : detailValue1,
            detailName2 : detailValue2;
        }
    }
    

    But if you do this you can index the details field :

    {
        productId :..
        details : [
            {field : detailName1, value : detailValue1},
            {field : detailName2, value : detailValue2}
        ]
    }
    

    Do note that this will result in a very big index. Not necessarily a problem but something to be aware of. The index will then be {details.field:1, details.value:1} (or just {details:1} if you’re not adding additional fields per detail).

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

Sidebar

Related Questions

I'm scraping a website that's mostly table based. I have <tr> tags that each
I am scraping a database of products and I am able to get all
I am scraping some website content which is like this - Company Stock Rs.
I am scraping a document and have 2 different arrays: the titles and the
I'm scraping a website for URL's and the anchor tags all have their href
i am screen scraping a website which is in danish language.. i am unable
I am scraping a website with HTML with php that retrieves a page and
I'm scraping a series of products from websites and storing them in a DB.
I'm scraping a website. There's a TD where the first child node is an
I am scraping a website and am trying to pull out certain elements from

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.