I have a firestore collections "users", which contains the following field I want to query:
"lat": 0.0, // some double value
"lon": 0.0, // some double value
"skills": [ // map of string to int
{
"skill": 2
}
],
"interests": [ // list of strings
"A",
"B"
]
In my Android app, I plan to fetch users, which match the following query:
- geocoordinate (lat, lon) are within a given radius (in km)
- skills-map contains a key matching any element of a given list
- Interest-list contains an element matching any element of a given list
- These conditions should be and-connected
In the firestore documentation I unfortunately did not found an example/explanation how to build such a query.