Skip to content

Commit 3c7ec8a

Browse files
authored
Update search.mdx
Fixed #2774
1 parent e07eb1b commit 3c7ec8a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

reference/api/search.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,9 @@ A search query cannot return more results than configured in [`maxTotalHits`](/r
383383
#### Example
384384

385385
If you want your query to return only **two** documents, set `limit` to `2`:
386+
<br/>
387+
Also, <br/>
388+
If you want your query to return only **zero** documents, set `limit` to 0: (Maybe useful for anykind of restricted search)
386389

387390
<CodeSamples id="search_parameter_guide_limit_1" />
388391

0 commit comments

Comments
 (0)