Skip to content

Commit fe7c01e

Browse files
committed
removing the from parameter per issue #2385
1 parent 5014ce5 commit fe7c01e

File tree

4 files changed

+0
-12
lines changed

4 files changed

+0
-12
lines changed

elasticsearch/_async/client/__init__.py

-3
Original file line numberDiff line numberDiff line change
@@ -3541,9 +3541,6 @@ async def search(
35413541
:param fields: Array of wildcard (`*`) patterns. The request returns values for
35423542
field names matching these patterns in the `hits.fields` property of the
35433543
response.
3544-
:param from_: Starting document offset. Needs to be non-negative. By default,
3545-
you cannot page through more than 10,000 hits using the `from` and `size`
3546-
parameters. To page through more hits, use the `search_after` parameter.
35473544
:param highlight: Specifies the highlighter to use for retrieving highlighted
35483545
snippets from one or more fields in your search results.
35493546
:param ignore_throttled: If `true`, concrete, expanded or aliased indices will

elasticsearch/_async/client/async_search.py

-3
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,6 @@ async def submit(
333333
:param ext: Configuration of search extensions defined by Elasticsearch plugins.
334334
:param fields: Array of wildcard (*) patterns. The request returns values for
335335
field names matching these patterns in the hits.fields property of the response.
336-
:param from_: Starting document offset. By default, you cannot page through more
337-
than 10,000 hits using the from and size parameters. To page through more
338-
hits, use the search_after parameter.
339336
:param highlight:
340337
:param ignore_throttled: Whether specified concrete, expanded or aliased indices
341338
should be ignored when throttled

elasticsearch/_sync/client/__init__.py

-3
Original file line numberDiff line numberDiff line change
@@ -3539,9 +3539,6 @@ def search(
35393539
:param fields: Array of wildcard (`*`) patterns. The request returns values for
35403540
field names matching these patterns in the `hits.fields` property of the
35413541
response.
3542-
:param from_: Starting document offset. Needs to be non-negative. By default,
3543-
you cannot page through more than 10,000 hits using the `from` and `size`
3544-
parameters. To page through more hits, use the `search_after` parameter.
35453542
:param highlight: Specifies the highlighter to use for retrieving highlighted
35463543
snippets from one or more fields in your search results.
35473544
:param ignore_throttled: If `true`, concrete, expanded or aliased indices will

elasticsearch/_sync/client/async_search.py

-3
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,6 @@ def submit(
333333
:param ext: Configuration of search extensions defined by Elasticsearch plugins.
334334
:param fields: Array of wildcard (*) patterns. The request returns values for
335335
field names matching these patterns in the hits.fields property of the response.
336-
:param from_: Starting document offset. By default, you cannot page through more
337-
than 10,000 hits using the from and size parameters. To page through more
338-
hits, use the search_after parameter.
339336
:param highlight:
340337
:param ignore_throttled: Whether specified concrete, expanded or aliased indices
341338
should be ignored when throttled

0 commit comments

Comments
 (0)