Add method filter duplicate results

This commit is contained in:
Victor Shcherb 2016-07-21 11:37:24 +02:00
parent 626c43e00c
commit 132852ae7c

View file

@ -240,7 +240,7 @@ public class SearchUICore {
if(a1 != null && a2 != null) { if(a1 != null && a2 != null) {
if(a1.getType().getKeyName().equals("natural") && if(a1.getType().getKeyName().equals("natural") &&
a2.getType().getKeyName().equals("natural")) { a2.getType().getKeyName().equals("natural")) {
similarityRadius = 1000; similarityRadius = 10000;
} }
} }
return MapUtils.getDistance(r1.location, r2.location) < similarityRadius; return MapUtils.getDistance(r1.location, r2.location) < similarityRadius;