Skip to content

Commit e6933da

Browse files
authored
fix(specs): clarify maxHitsPerQuery is a per-page limit (#7210)
1 parent c8e91fe commit e6933da

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎specs/search/paths/keys/common/schemas.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ apiKey:
4040
maxHitsPerQuery:
4141
type: integer
4242
description: |
43-
Maximum number of results this API key can retrieve in one query.
44-
By default, there's no limit.
43+
Maximum number of hits this API key can retrieve per page.
44+
45+
If you set this to 0, the maximum allowed value (1,000) applies.
46+
If you also set `hitsPerPage` on the index, the engine uses the lower of the two values.
4547
default: 0
4648
maxQueriesPerIPPerHour:
4749
type: integer

0 commit comments

Comments
 (0)