Add method filter duplicate results
This commit is contained in:
parent
626c43e00c
commit
132852ae7c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue