X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/eaee87e73decb643939ddf3ce64cd6d6373d71e2..67664406da6c2fdf7753d64be0d5ca79a5599735:/docs/api/Search.md diff --git a/docs/api/Search.md b/docs/api/Search.md index eada817f..ce081cab 100644 --- a/docs/api/Search.md +++ b/docs/api/Search.md @@ -27,8 +27,8 @@ The search term may be specified with two different sets of parameters: Free-form query string to search for. Free-form queries are processed first left-to-right and then right-to-left if that fails. So you may search for - [pilkington avenue, birmingham](//nominatim.openstreetmap.org/search?q=pilkington+avenue,birmingham) as well as for - [birmingham, pilkington avenue](//nominatim.openstreetmap.org/search?q=birmingham,+pilkington+avenue). + [pilkington avenue, birmingham](https://nominatim.openstreetmap.org/search?q=pilkington+avenue,birmingham) as well as for + [birmingham, pilkington avenue](https://nominatim.openstreetmap.org/search?q=birmingham,+pilkington+avenue). Commas are optional, but improve performance by reducing the complexity of the search. @@ -51,6 +51,12 @@ Both query forms accept the additional parameters listed below. See [Place Output Formats](Output.md) for details on each format. (Default: jsonv2) +!!! note + The Nominatim service at + [https://nominatim.openstreetmap.org](https://nominatim.openstreetmap.org) + has a different default behaviour for historical reasons. When the + `format` parameter is omitted, the request will be forwarded to the Web UI. + * `json_callback=` Wrap JSON output in a callback function ([JSONP](https://en.wikipedia.org/wiki/JSONP)) i.e. `()`.