langchain/retrievers/azure_cognitive_search.py/AzureCognitiveSearchRetriever/_search
class AzureCognitiveSearchRetriever:    def _search(self, query: str) -> List[dict]:
        search_url = self._build_search_url(query)
        response = requests.get(search_url, headers=self._headers)
        if response.status_code != 200:
            raise Exception(f"Error in search request: {response}")

        return json.loads(response.text)["value"]