From c869176ac3747b8a9aa23453b7f5d2ed8c8af5d3 Mon Sep 17 00:00:00 2001 From: corneelwille Date: Tue, 10 Sep 2024 11:16:51 +0200 Subject: [PATCH] Improve copy --- projects/uitdatabank/docs/search-api/filters/location.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/uitdatabank/docs/search-api/filters/location.md b/projects/uitdatabank/docs/search-api/filters/location.md index 84124aff..f3d8ca9c 100644 --- a/projects/uitdatabank/docs/search-api/filters/location.md +++ b/projects/uitdatabank/docs/search-api/filters/location.md @@ -34,7 +34,7 @@ Use a wildcard instead of specifying a language: GET /places/?q=address.\*.addressCountry:NL&addressCountry=* ``` -In the queries above, we disabled the addressCountry default filter using a URL parameter and applied a filter for the Netherlands through the advanced query parameter (address.nl.AddressCountry). However, if the goal is to restrict results solely to locations within the Netherlands, it’s simpler to use just the URL parameter: +In the queries above, we disabled the addressCountry default filter using a URL parameter and applied a filter for the Netherlands through the advanced query parameter (`address.nl.AddressCountry`). However, if the goal is to restrict results solely to locations within the Netherlands, it’s simpler to use just the URL parameter: ``` GET /places/?addressCountry=NL @@ -90,9 +90,9 @@ With the `addressLocality` field you can limit your results to one or more munic -> The name of municipalities can change over time (e.g. in the context of municipality mergers). The postal code of municipalities is far less subject to change. Therefore, it is better to use the `postalCode` field instead of the `addressLocality` field (when possible). +> The name of municipalities can change over time (e.g. in the context of municipality mergers). The postal code of municipalities is far less subject to change. Therefore, it is better to use the `postalCode` field instead of the `addressLocality` field. -The `addressLocality` is available as both an URL parameter and the advanced query field `address.{language}.addressLocality` +The `addressLocality` is available as both an URL parameter and the advanced query field `address.{language}.addressLocality`. **Applicable on endpoints**