I tried creating a Scoring Profile in the Azure Search using the '.Net SDK' but it is not reflecting on the Azure portal. It is giving me Bad Request
error at this line in the code.
results = indexClient.Documents.Search<ModelDetails>(searchText, parameters);
Is there any restriction/access permission needed for creating the Scoring Profile? Is it achievable through .net code?
If no, Please help me on how to create it through code.
Note: Even in the REST API implementations, I can't see any POST
or PUT
requests. Only GET
requests are there in the examples provided in the Microsoft document.