[ https://issues.apache.org/jira/browse/USERGRID-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14659042#comment-14659042 ]
ASF GitHub Bot commented on USERGRID-460: ----------------------------------------- GitHub user GERey opened a pull request: https://github.com/apache/incubator-usergrid/pull/341 Added fixes to do distance ordered by queries. https://issues.apache.org/jira/browse/USERGRID-460 You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/incubator-usergrid USERGRID-460-two-dot-o Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-usergrid/pull/341.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #341 ---- commit 4887b02354d699b0abf5bbd5278a197b46907d3e Author: GERey <gre...@apigee.com> Date: 2015-08-05T21:55:20Z Added fixes to do distance ordered by queries. ---- > Geospatial/Geolocation query results are not sorted by distance > --------------------------------------------------------------- > > Key: USERGRID-460 > URL: https://issues.apache.org/jira/browse/USERGRID-460 > Project: Usergrid > Issue Type: Bug > Components: Stack > Reporter: Jeffrey > Assignee: George Reyes > > Geospatial ('within') query results are not sorted by distance. We should > sort by distance ascending by default. This is now MongoDB handles the $near > queries. > Please add a test to confirm sorting is done correctly. -- This message was sent by Atlassian JIRA (v6.3.4#6332)