Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1 mb limit on documents in Firestore #25

Open
lassesilk opened this issue Sep 3, 2019 · 1 comment
Open

1 mb limit on documents in Firestore #25

lassesilk opened this issue Sep 3, 2019 · 1 comment

Comments

@lassesilk
Copy link

Hi. From my understanding there is a 1 mb limit on storing documents in Firestore, and according to the Firestore documentation a document should only store 100 fields.
Is it then right to assume that if you wanted to track 1000 or 10 000 for that matter, users with geohashes, that would be impossible with GeoFirestore?

@renatoDutraSilva
Copy link

firestore documents can have up to 100 nested fields. as far as the actual field/index limit I think it's 20.000.
From the documentation:

Large array or map fields can approach the limit of 20,000 index entries per document. If you are not querying based on a large array or map field, you should exempt it from indexing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants