Search index
GET https://{{searchServiceName}}.search.windows.net/indexes/{{searchIndexName}}/docs?api-version=2020-06-30&search=*
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
Key | Datatype | Required | Description |
---|---|---|---|
api-version | string | ||
search | string | String to look for |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
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"}}]}