You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/search/search-howto-reindex.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,7 @@ The following table explains the various per-document status codes that can be r
132
132
| 422 | The index is temporarily unavailable because it was updated with the 'allowIndexDowntime' flag set to 'true'. | Yes ||
133
133
| 503 | Your search service is temporarily unavailable, possibly due to heavy load. | Yes | Your code should wait before retrying in this case or you risk prolonging the service unavailability.|
134
134
135
-
If your client code frequently encounters a 207 response, one possible reason is that the system is under load. You can confirm this by checking the statusCode property for 503. If this is the case, we recommend throttling indexing requests. Otherwise, if indexing traffic doesn't subside, the system could start rejecting all requests with 503 errors.
135
+
If your client code frequently encounters a 207 response, one possible reason is that the system is under load. You can confirm this by checking the statusCode property for 503. If the statusCode is 503, we recommend throttling indexing requests. Otherwise, if indexing traffic doesn't subside, the system could start rejecting all requests with 503 errors.
136
136
137
137
Status code 429 indicates that you have exceeded your quota on the number of documents per index. You must either create a new index or upgrade for higher capacity limits.
Copy file name to clipboardExpand all lines: articles/search/search-pagination-page-layout.md
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,9 +13,9 @@ ms.topic: how-to
13
13
ms.date: 12/09/2024
14
14
---
15
15
16
-
# Shape search results or modify search results composition
16
+
# Shape search results or modify search results composition in Azure AI Search
17
17
18
-
This article explains search results composition in Azure AI Search and how to work with results in your apps. Search results are returned in a query response. The shape of a response is determined by parameters in the query itself. These parameters include:
18
+
This article explains search results composition and how to shape search results to fit your scenarios. Search results are returned in a query response. The shape of a response is determined by parameters in the query itself. These parameters include:
19
19
20
20
+ Number of matches found in the index (`count`)
21
21
+ Number of matches returned in the response (50 by default, configurable through `top`) or per page (`skip` and `top`)
@@ -80,17 +80,15 @@ Count won't be affected by routine maintenance or other workloads on the search
80
80
81
81
## Number of results in the response
82
82
83
-
Azure AI Search uses server-side paging to prevent queries from retrieving too many documents at once. Query parameters that determine the number of results in a response are `top` and `skip`. `top` refers to the number of search results in a page.
83
+
Azure AI Search uses server-side paging to prevent queries from retrieving too many documents at once. Query parameters that determine the number of results in a response are `top` and `skip`. `top` refers to the number of search results in a page. `skip` is an interval of `top`, and it tells the search engine how many results to skip before getting the next set.
84
84
85
-
The default page size is 50, while the maximum page size is 1,000. If you specify a value greater than 1,000 and there are more than 1,000 results found in your index, only the first 1,000 results are returned.
86
-
87
-
If the number of matches exceed the page size, the response includes information to retrieve the next page of results. For example:
85
+
The default page size is 50, while the maximum page size is 1,000. If you specify a value greater than 1,000 and there are more than 1,000 results found in your index, only the first 1,000 results are returned. If the number of matches exceed the page size, the response includes information to retrieve the next page of results. For example:
The top 50 are determined by search score, assuming the query is full text search or semantic. Otherwise, the top 50 are an arbitrary order for exact match queries (where uniform `@search.score=1.0` indicates arbitrary ranking).
91
+
The top matches are determined by search score, assuming the query is full text search or semantic. Otherwise, the top matches are an arbitrary order for exact match queries (where uniform `@search.score=1.0` indicates arbitrary ranking).
94
92
95
93
Set `top` to override the default of 50. In newer preview APIs, if you're using a hybrid query, you can [specify maxTextRecallSize](hybrid-search-how-to-query.md#set-maxtextrecallsize-and-countandfacetmode-preview) to return up to 10,000 documents.
96
94
@@ -107,7 +105,7 @@ POST https://contoso-search-eastus.search.windows.net/indexes/realestate-us-samp
107
105
}
108
106
```
109
107
110
-
To return the second set, skip the first 15 to get the next 15:
108
+
This query returns the second set, skipping the first 15 to get the next 15 (16 through 30):
111
109
112
110
```http
113
111
POST https://contoso-search-eastus.search.windows.net/indexes/realestate-us-sample-index/docs/search?api-version=2024-07-01
0 commit comments