File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
elasticsearch-api/lib/elasticsearch/api/actions/indices Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,14 @@ module Actions
1515 #
1616 # @example Analyze text "Quick Brown Jumping Fox" with a custom tokenizer and filter chain
1717 #
18- # client.indices.analyze text : 'The Quick Brown Jumping Fox',
18+ # client.indices.analyze body : 'The Quick Brown Jumping Fox',
1919 # tokenizer: 'whitespace',
2020 # filters: ['lowercase','stop']
2121 #
22+ # @note If your text for analysis is longer than 4096 bytes then you should use the :body argument, rather than :text, to avoid HTTP transport errors
23+ #
2224 # @option arguments [String] :index The name of the index to scope the operation
23- # @option arguments [Hash ] :body The text on which the analysis should be performed
25+ # @option arguments [String ] :body The text on which the analysis should be performed
2426 # @option arguments [String] :analyzer The name of the analyzer to use
2527 # @option arguments [String] :field Use the analyzer configured for this field
2628 # (instead of passing the analyzer name)
You can’t perform that action at this time.
0 commit comments