X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a338ba695b67a65aaa5102a0cfe2bd7da398a0b3..381c9395747a04672acba395e0bd14332d1a9db9:/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. `()`.