Fix matching
This commit is contained in:
parent
cdf795c6af
commit
9df2f79848
1 changed files with 2 additions and 1 deletions
|
@ -414,7 +414,8 @@ public class SearchCoreFactory {
|
||||||
if (object.getName().startsWith("<")) {
|
if (object.getName().startsWith("<")) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!phrase.getFirstUnknownNameStringMatcher().matches(stripBraces(sr.localeName))) {
|
|
||||||
|
if (!phrase.getUnknownWordToSearchBuildingNameMatcher().matches(stripBraces(sr.localeName))) {
|
||||||
sr.priorityDistance = 5;
|
sr.priorityDistance = 5;
|
||||||
}
|
}
|
||||||
sr.objectType = ObjectType.STREET;
|
sr.objectType = ObjectType.STREET;
|
||||||
|
|
Loading…
Reference in a new issue