Search index

GET https://{{searchServiceName}}.search.windows.net/indexes/{{searchIndexName}}/docs?api-version=2020-06-30&search=*

Official documentation

This section covers how you can seach / query your existing index using specific filters.

In addition to the query parameters in the example, you can find others (e.g. number of results) in Query Parameters in the official documentation.

Request Params

KeyDatatypeRequiredDescription
api-versionstring
searchstringString to look for

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"@odata.context":"https://postman-cognitive-search.search.windows.net/indexes('hotels-quickstart')/$metadata#docs(*)","value":[{"@search.score":0.57843524,"HotelId":"2","HotelName":"Twin Dome Motel","Description":"The hotel is situated in a  nineteenth century plaza, which has been expanded and renovated to the highest architectural standards to create a modern, functional and first-class hotel in which art and unique historical elements coexist with the most modern comforts.","Category":"Boutique","Tags":["pool","free wifi","concierge"],"ParkingIncluded":true,"LastRenovationDate":"1979-02-18T00:00:00Z","Rating":3.6,"Address":{"StreetAddress":"140 University Town Center Dr","City":"Sarasota","StateProvince":"FL","PostalCode":"34243","Country":"USA"}}]}