The more I read on this topic the more I am confused.
I need small clarification.
If I convert my coordinates to geohash like: c2b2aaa
using some library that can do that.
And in firestore collection documents I have field
.
doc: {... geohash: 'c2b2qdd'}
doc: {... geohash: 'c2b2abd'}
doc: {... geohash: 'c2b2ahd'}
doc: {... geohash: 'c2b2jjd'}
firestore().collection('myCollection').orderBy('geohash', '>=', 'c2b2aaa').limit(100);
Will this query return me up to 100 documents sorted by distance from my location 'c2b2aaa
'?
Or I am too naive and think this would work.