This closes #430 and adds geo-distance to queries with a within clause
Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/2b1f7613 Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/2b1f7613 Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/2b1f7613 Branch: refs/heads/master Commit: 2b1f7613001e1fdf5f487e200e04edde77adc7c1 Parents: c3299bc 1c0b0a9 Author: Dave Johnson <[email protected]> Authored: Tue Nov 10 09:32:24 2015 -0500 Committer: Dave Johnson <[email protected]> Committed: Tue Nov 10 09:32:24 2015 -0500 ---------------------------------------------------------------------- .../read/search/CandidateEntityFilter.java | 6 ++ .../org/apache/usergrid/persistence/GeoIT.java | 71 ++++++++++++++++++++ .../model/entity/EntityToMapConverter.java | 9 ++- .../persistence/model/field/DistanceField.java | 42 ++++++++++++ .../persistence/model/field/FieldTypeName.java | 3 +- .../persistence/index/GeoCandidateResult.java | 40 +++++++++++ .../index/impl/EsEntityIndexImpl.java | 8 ++- .../persistence/index/impl/IndexingUtils.java | 41 +++++++---- .../persistence/index/query/ParsedQuery.java | 4 ++ 9 files changed, 207 insertions(+), 17 deletions(-) ----------------------------------------------------------------------
