Push model

The push model is the best solution for applications that have low-latency requirements. As opposed to the pull model, for this model, your document will be indexed immediately after pushing it using a RESTful API.

Currently, there is no other option to use a push model besides using a RESTful API or .NET SDK to perform an operation. In the pull model, it is also possible to get data using Azure Portal.

Here, you can find an example request for pushing a document:

POST /indexes/realestate-us-sample/docs/index?api-version=2016-09-01 HTTP/1.1Host: [service name].search.windows.netapi-key: [api key]Content-Type: application/jsonCache-Control: no-cache{   "value": [     {       "listingId": "12344234",      "@search.action": "upload", 

Get Hands-On Azure for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.