Last active
March 16, 2017 04:15
-
-
Save nishantsingh1/6d3008f649d0eb7155d3e65f663b9657 to your computer and use it in GitHub Desktop.
Geospatial query for a cylindrical search
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cts:search(doc(), | |
cts:and-query( | |
( | |
cts:element-pair-geospatial-query(xs:QName("location"), xs:QName("lat"), xs:QName("long"), cts:circle(1000, cts:point(37.655983, -122.425525))), | |
cts:element-range-query(xs:QName("alt"), "<", 4) | |
))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment