@@ -59,22 +59,22 @@ def search(
5959 A comma-separated list of index names to search.
6060 use `_all` or empty string to perform the operation on all indices.
6161 search_body : Dict[str, Any], optional
62- The search definition using the [ Query DSL]( https://opensearch.org/docs/opensearch/query-dsl/full-text/) .
62+ The search definition using the ` Query DSL < https://opensearch.org/docs/opensearch/query-dsl/full-text/>`_ .
6363 doc_type : str, optional
6464 Name of the document type (for Elasticsearch versions 5.x and earlier).
6565 is_scroll : bool, optional
6666 Allows to retrieve a large numbers of results from a single search request using
67- [ scroll]( https://opensearch.org/docs/opensearch/rest-api/scroll/)
67+ ` scroll < https://opensearch.org/docs/opensearch/rest-api/scroll/>`_
6868 for example, for machine learning jobs.
6969 Because scroll search contexts consume a lot of memory, we suggest you don’t use the scroll operation
7070 for frequent user queries.
7171 filter_path : Union[str, Collection[str]], optional
7272 Use the filter_path parameter to reduce the size of the OpenSearch Service response \
7373 (default: ['hits.hits._id','hits.hits._source'])
7474 **kwargs :
75- KEYWORD arguments forwarded to [ opensearchpy.OpenSearch.search] \
76- ( https://opensearch-py.readthedocs.io/en/latest/api.html#opensearchpy.OpenSearch.search)
77- and also to [ opensearchpy.helpers.scan]( https://opensearch-py.readthedocs.io/en/master/helpers.html#scan)
75+ KEYWORD arguments forwarded to ` opensearchpy.OpenSearch.search \
76+ < https://opensearch-py.readthedocs.io/en/latest/api.html#opensearchpy.OpenSearch.search>`_
77+ and also to ` opensearchpy.helpers.scan < https://opensearch-py.readthedocs.io/en/master/helpers.html#scan>`_
7878 if `is_scroll=True`
7979
8080 Returns
@@ -122,7 +122,7 @@ def search(
122122
123123
124124def search_by_sql (client : OpenSearch , sql_query : str , ** kwargs : Any ) -> pd .DataFrame :
125- """Return results matching [ SQL query]( https://opensearch.org/docs/search-plugins/sql/index/) as pandas dataframe.
125+ """Return results matching ` SQL query < https://opensearch.org/docs/search-plugins/sql/index/>`_ as pandas dataframe.
126126
127127 Parameters
128128 ----------
0 commit comments