From fe7c01e77e66cfd412789a5bc0ff6895c4efd3db Mon Sep 17 00:00:00 2001 From: Jess Garson Date: Thu, 18 Jan 2024 15:24:18 -0500 Subject: [PATCH] removing the from parameter per issue #2385 --- elasticsearch/_async/client/__init__.py | 3 --- elasticsearch/_async/client/async_search.py | 3 --- elasticsearch/_sync/client/__init__.py | 3 --- elasticsearch/_sync/client/async_search.py | 3 --- 4 files changed, 12 deletions(-) diff --git a/elasticsearch/_async/client/__init__.py b/elasticsearch/_async/client/__init__.py index 7b46bd35e..98051e1be 100644 --- a/elasticsearch/_async/client/__init__.py +++ b/elasticsearch/_async/client/__init__.py @@ -3541,9 +3541,6 @@ async def search( :param fields: Array of wildcard (`*`) patterns. The request returns values for field names matching these patterns in the `hits.fields` property of the response. - :param from_: Starting document offset. Needs to be non-negative. By default, - you cannot page through more than 10,000 hits using the `from` and `size` - parameters. To page through more hits, use the `search_after` parameter. :param highlight: Specifies the highlighter to use for retrieving highlighted snippets from one or more fields in your search results. :param ignore_throttled: If `true`, concrete, expanded or aliased indices will diff --git a/elasticsearch/_async/client/async_search.py b/elasticsearch/_async/client/async_search.py index ce6da8a18..6ea1581ed 100644 --- a/elasticsearch/_async/client/async_search.py +++ b/elasticsearch/_async/client/async_search.py @@ -333,9 +333,6 @@ async def submit( :param ext: Configuration of search extensions defined by Elasticsearch plugins. :param fields: Array of wildcard (*) patterns. The request returns values for field names matching these patterns in the hits.fields property of the response. - :param from_: Starting document offset. By default, you cannot page through more - than 10,000 hits using the from and size parameters. To page through more - hits, use the search_after parameter. :param highlight: :param ignore_throttled: Whether specified concrete, expanded or aliased indices should be ignored when throttled diff --git a/elasticsearch/_sync/client/__init__.py b/elasticsearch/_sync/client/__init__.py index 606d044df..1ebd893bc 100644 --- a/elasticsearch/_sync/client/__init__.py +++ b/elasticsearch/_sync/client/__init__.py @@ -3539,9 +3539,6 @@ def search( :param fields: Array of wildcard (`*`) patterns. The request returns values for field names matching these patterns in the `hits.fields` property of the response. - :param from_: Starting document offset. Needs to be non-negative. By default, - you cannot page through more than 10,000 hits using the `from` and `size` - parameters. To page through more hits, use the `search_after` parameter. :param highlight: Specifies the highlighter to use for retrieving highlighted snippets from one or more fields in your search results. :param ignore_throttled: If `true`, concrete, expanded or aliased indices will diff --git a/elasticsearch/_sync/client/async_search.py b/elasticsearch/_sync/client/async_search.py index 8df1abdab..7b8ac5e1c 100644 --- a/elasticsearch/_sync/client/async_search.py +++ b/elasticsearch/_sync/client/async_search.py @@ -333,9 +333,6 @@ def submit( :param ext: Configuration of search extensions defined by Elasticsearch plugins. :param fields: Array of wildcard (*) patterns. The request returns values for field names matching these patterns in the hits.fields property of the response. - :param from_: Starting document offset. By default, you cannot page through more - than 10,000 hits using the from and size parameters. To page through more - hits, use the search_after parameter. :param highlight: :param ignore_throttled: Whether specified concrete, expanded or aliased indices should be ignored when throttled