3. What is Geospatial Index?
— A. When we use MapReduce Views for geo spatial data? and when we use Geospatial Index , As I understand SpatialQuery needs MapReduce Views but rest api need Geospatial Index so SpatialQuery and rest api is not same!!!
— B. Is Geospatial Index a special type of Secondery Indexes?
What I understand (And I know is wrong ) is :
Theres is 3 way to query geospatial data
– A. Using pure N1QL and Math functions like RADIANS , COS , SIN , …
– B. Using spatial query and REST API , But What about NodeJS SDK?
– C. Using MapReduce and SpatialQuery, But What about Radius-Based query?
100m documents, with 4KB document size, will need about 1 TB of diskspace and 10GB of memory. 4 cores for initial build.
You’ll have to see how much query workload you’d need to support and estimate the CPUs you need.
FTS automatically partitions the index in to six partitions, by default. Whether to put into multiple nodes or not depends on the query workload and your SLA.
Oh no… that would really be a showstopper for me!!!
I’ll have a look at the link you suggested - and I really hope there is a working solution there. Otherwise, I would really need you to put it way higher on the radar…!!! Not many things on mobile work without some functionality that is based on where you are - and what is within a certain reach from there…
I’m really surprised - and sad - that I have overlooked such a basic functionality is missing in mobile… I have migrated our entire backend system to Couchbase for the sync functionality AND obviously the possibility to do things based on the user’s location
Is this question answered anywhere?
I have the same question cause my data model does not contain a geo object with ‘lat’ and ‘long’ but rather has the ‘latitude’ and ‘longitude’ fields in an ‘address’ object which is contained in an array of addresses. Not sure how to express this in a type mapping or index.