This commit is contained in:
PaulStets 2018-01-14 11:41:20 +02:00
parent cc09923870
commit c32671289e

View file

@ -562,7 +562,7 @@ public class SearchCoreFactory {
if (p.hasObjectType(ObjectType.POI_TYPE)) {
return -1;
}
if (p.getUnknownSearchWordLength() > 3 || p.getRadiusLevel() > 1) {
if (p.getUnknownSearchWordLength() >= 3 || p.getRadiusLevel() > 1) {
return SEARCH_AMENITY_BY_NAME_API_PRIORITY_IF_3_CHAR;
}
return -1;