});
} else if (args.containsKey("search") && PermissionPrefWithDefault.CHANGE_SELECTION.isAllowed()) {
try {
final DataSet ds = Main.main.getCurrentDataSet();
final SearchCompiler.Match search = SearchCompiler.compile(args.get("search"), false, false);
final Collection<OsmPrimitive> filteredPrimitives = Utils.filter(ds.allPrimitives(), search);
ds.setSelected(filteredPrimitives);
zoom(filteredPrimitives, bbox);
} catch (SearchCompiler.ParseError ex) {
Main.error(ex);
throw new RequestHandlerErrorException(ex);