Skip to content

Commit 51e81d3

Browse files
committed
[DOCS] Updates source code docs for connector.list and test_grok_pattern
1 parent 282b910 commit 51e81d3

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/connector/list.rb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ module Actions
2929
# support SLA of official GA features.
3030
#
3131
# @option arguments [Integer] :from Starting offset (default: 0)
32-
# @option arguments [Integer] :size specifies a max number of results to get (default: 100)
33-
# @option arguments [String] :index_name connector index name(s) to fetch connector documents for
34-
# @option arguments [String] :connector_name connector name(s) to fetch connector documents for
32+
# @option arguments [Integer] :size Specifies a max number of results to get (default: 100)
33+
# @option arguments [List] :index_name A comma-separated list of connector index names to fetch connector documents for
34+
# @option arguments [List] :connector_name A comma-separated list of connector names to fetch connector documents for
35+
# @option arguments [List] :service_type A comma-separated list of connector service types to fetch connector documents for
36+
# @option arguments [String] :query A search string for querying connectors, filtering results by matching against connector names, descriptions, and index names
3537
# @option arguments [Hash] :headers Custom HTTP headers
3638
#
3739
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/list-connector-api.html

elasticsearch-api/lib/elasticsearch/api/actions/text_structure/test_grok_pattern.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module Actions
2828
# @option arguments [Hash] :headers Custom HTTP headers
2929
# @option arguments [Hash] :body The Grok pattern and text. (*Required*)
3030
#
31-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/test-grok-pattern-api.html
31+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/test-grok-pattern.html
3232
#
3333
def test_grok_pattern(arguments = {})
3434
request_opts = { endpoint: arguments[:endpoint] || 'text_structure.test_grok_pattern' }

0 commit comments

Comments
 (0)