Skip to content

Commit 59b52a8

Browse files
authored
edit grammar and style in public repo
1 parent c0afbe2 commit 59b52a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/azure-maps/how-to-use-best-practices-for-search.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ See [geocoding coverage](https://docs.microsoft.com/azure/azure-maps/geocoding-c
5454

5555
**Fuzzy search parameters**
5656

57-
Azure Maps [Fuzzy Search API](https://docs.microsoft.com/rest/api/maps/search/getsearchfuzzy) is recommended service to use when you do not know what your user inputs are for a search query. The API combines Point of Interest (POI) search and geocoding into a canonical 'single-line search'.
57+
Azure Maps [Fuzzy Search API](https://docs.microsoft.com/rest/api/maps/search/getsearchfuzzy) is the recommended service to use when you don't know what your user inputs are for a search query. The API combines Point of Interest (POI) search and geocoding into a canonical *single-line search*.
5858

5959
1. The `minFuzzyLevel` and `maxFuzzyLevel`, help return relevant matches even when query parameters do not exactly correspond to the desired information. Most search queries default to `minFuzzyLevel=1` and `maxFuzzyLevel=2` to gain performance and reduce unusual results. Take an example of a search term "restrant", it is matched to "restaurant" when the `maxFuzzyLevel` is set to be 2. The default fuzzy levels can be overridden as per request needs.
6060

61-
2. You can also priortize exact set of result types to be returned by using the `idxSet` parameter. For this purpose you can submit comma-separated list of indexes, the item order does not matter. The following are the supported indexes:
61+
2. You can also prioritize the exact set of result types to be returned by using the `idxSet` parameter. For this purpose, you can submit a comma-separated list of indexes; the item order does not matter. The following indexes are supported:
6262

6363
* `Addr` - **Address Ranges**: For some streets, there are address points that are interpolated from the beginning and end of the street; those points are represented as address ranges.
6464
* `Geo` - **Geographies**: Areas on a map that represent administrative division of a land, that is, country, state, city.
@@ -314,7 +314,7 @@ Points of Interest (POI) Search allows you to request POI results by name, for e
314314

315315
To improve the relevance of the results and the information in the response, Point of Interest (POI) search response includes the brand information that can be used further to parse the response.
316316

317-
Also, You can submit in the request a comma-separated list of brand names which could be used to restrict the result to specific brands by using `brandSet` parameter. Item order does not matter. When multiple brands are provided, only results that belong to (at least) one of the provided list will be returned.
317+
You also can submit a comma-separated list of brand names in the request. You can use the list to restrict the results to specific brands by using the `brandSet` parameter. Item order does not matter. When multiple brands are provided, only results that belong to (at least) one of the provided lists are returned.
318318

319319
Let's make a [POI Category Search](https://docs.microsoft.com/rest/api/maps/search/getsearchpoicategory) request for gas stations near Microsoft campus (Redmond, WA). If you observe the response, you can see brand information for each POI returned.
320320

0 commit comments

Comments
 (0)