My geospatial circle queries are not matching only points within the circle I am passing in.
I have documents in the DB with a "location" parent element with a "lat" child and "long" child. I created a geospatial element pair index on them. But when I try to query for docs that are within a circle, all docs always match. let $circle := cts:circle(1, cts:point(118.204808, 36.839578)) return cts:search(/, cts:element-pair-geospatial-query(xs:QName("location"), xs:QName("lat"), xs:QName("long"),$circle)) Regardless of the numbers I put in the cts:circle, all documents always match, even if I use nonsense numbers. What am I doing wrong? I using 5.0 EA2. Thanks, Ryan
_______________________________________________ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general