Skip to content

Commit 387ac55

Browse files
committed
Update README to reflect new default
1 parent 779b89d commit 387ac55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ A `Search` specifies a search of arXiv's database.
3636
arxiv.Search(
3737
query: str = "",
3838
id_list: List[str] = [],
39-
max_results: int | None = None,
39+
max_results: int | None = 100,
4040
sort_by: SortCriterion = SortCriterion.Relevance,
4141
sort_order: SortOrder = SortOrder.Descending
4242
)
4343
```
4444

4545
+ `query`: an arXiv query string. Advanced query formats are documented in the [arXiv API User Manual](https://arxiv.org/help/api/user-manual#query_details).
4646
+ `id_list`: list of arXiv record IDs (typically of the format `"0710.5765v1"`). See [the arXiv API User's Manual](https://arxiv.org/help/api/user-manual#search_query_and_id_list) for documentation of the interaction between `query` and `id_list`.
47-
+ `max_results`: The maximum number of results to be returned in an execution of this search. To fetch every result available, set `max_results=None` (default); to fetch up to 10 results, set `max_results=10`. The API's limit is 300,000 results.
47+
+ `max_results`: The maximum number of results to be returned in an execution of this search. To fetch every result available, set `max_results=None`. The API's limit is 300,000 results.
4848
+ `sort_by`: The sort criterion for results: `relevance`, `lastUpdatedDate`, or `submittedDate`.
4949
+ `sort_order`: The sort order for results: `'descending'` or `'ascending'`.
5050

0 commit comments

Comments
 (0)