Victor Shcherb 2021-01-12 18:33:43 +01:00
parent 318ae3d3cf
commit 9251a6bb4a

View file

@ -719,9 +719,10 @@ public class SearchCoreFactory {
results.put(res.pt.getKeyName(), res); results.put(res.pt.getKeyName(), res);
} }
} }
if (nmAdditional != null) { // don't spam results with unsearchable additionals like 'description', 'email', ...
addAditonals(nmAdditional, results, types.getOtherMapCategory()); // if (nmAdditional != null) {
} // addAditonals(nmAdditional, results, types.getOtherMapCategory());
// }
for (PoiCategory c : categories) { for (PoiCategory c : categories) {
PoiTypeResult res = checkPoiType(nm, c); PoiTypeResult res = checkPoiType(nm, c);
if(res != null) { if(res != null) {