On 5/13/2016 2:19 AM, Horváth Péter Gergely wrote:
> Thank you for your feedback, I much appreciate your inputs. I don't > have 
> strong requirements regarding structuring the data: do you think
> I could use a single, relatively large collection with some >
discriminator field instead of multiple thousands of separate >
collections?
The answer is probably yes, but since I do not know anything about your
data or how you're going to need to use it, I cannot be confident in
saying that.

If all your collections will be using very simialar schemas and configs,
adding a field that you can filter on to produce the same results as a
smaller individual collection can allow you to combine documents into a
larger collection.  You would need to populate that field with a useful
value when indexing.

Thanks,
Shawn

Reply via email to