Skip to content

Commit 6e3ffe2

Browse files
Merge pull request #1907 from HeidiSteen/heidist-freshness
edits for readability
2 parents 2e78625 + f498391 commit 6e3ffe2

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

articles/search/search-howto-reindex.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ The following table explains the various per-document status codes that can be r
132132
| 422 | The index is temporarily unavailable because it was updated with the 'allowIndexDowntime' flag set to 'true'. | Yes | |
133133
| 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.|
134134

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.
136136

137137
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.
138138

articles/search/search-pagination-page-layout.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ ms.topic: how-to
1313
ms.date: 12/09/2024
1414
---
1515

16-
# Shape search results or modify search results composition
16+
# Shape search results or modify search results composition in Azure AI Search
1717

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:
1919

2020
+ Number of matches found in the index (`count`)
2121
+ 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
8080

8181
## Number of results in the response
8282

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.
8484

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:
8886

8987
```json
9088
"@odata.nextLink": "https://contoso-search-eastus.search.windows.net/indexes/realestate-us-sample-index/docs/search?api-version=2024-07-01"
9189
```
9290

93-
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).
9492

9593
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.
9694

@@ -107,7 +105,7 @@ POST https://contoso-search-eastus.search.windows.net/indexes/realestate-us-samp
107105
}
108106
```
109107

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):
111109

112110
```http
113111
POST https://contoso-search-eastus.search.windows.net/indexes/realestate-us-sample-index/docs/search?api-version=2024-07-01

0 commit comments

Comments
 (0)