fix bug with wiki search but keep alt_name old_name searchable
This commit is contained in:
parent
b44d8ae300
commit
74cb45c505
1 changed files with 3 additions and 0 deletions
|
@ -549,6 +549,9 @@ public class BinaryMapPoiReaderAdapter {
|
||||||
if (!matches) {
|
if (!matches) {
|
||||||
Map<String, String> lt = am.getAdditionalInfo();
|
Map<String, String> lt = am.getAdditionalInfo();
|
||||||
for (Entry<String, String> e : lt.entrySet()) {
|
for (Entry<String, String> e : lt.entrySet()) {
|
||||||
|
if(!e.getKey().contains("_name")) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
matches = matcher.matches(e.getValue());
|
matches = matcher.matches(e.getValue());
|
||||||
if (matches) {
|
if (matches) {
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue