fix bug with wiki search but keep alt_name old_name searchable

This commit is contained in:
Victor Shcherb 2016-10-20 22:25:26 +02:00
parent b44d8ae300
commit 74cb45c505

View file

@ -549,6 +549,9 @@ public class BinaryMapPoiReaderAdapter {
if (!matches) {
Map<String, String> lt = am.getAdditionalInfo();
for (Entry<String, String> e : lt.entrySet()) {
if(!e.getKey().contains("_name")) {
continue;
}
matches = matcher.matches(e.getValue());
if (matches) {
break;