lib/elasticsearch/api/actions/search.rb in elasticsearch-api-2.0.2 vs lib/elasticsearch/api/actions/search.rb in elasticsearch-api-5.0.0.pre
- old
+ new
@@ -76,10 +76,13 @@
# @option arguments [Boolean] :explain Specify whether to return detailed information about score computation
# as part of a hit
# @option arguments [List] :fields A comma-separated list of fields to return as part of a hit
# @option arguments [List] :fielddata_fields A comma-separated list of fields to return as the field data
# representation of a field for each hit
+ # @option arguments [List] :docvalue_fields A comma-separated list of fields to return as the docvalue
+ # representation of a field for each hit
+ # @option arguments [List] :stored_fields A comma-separated list of stored fields to return as part of a hit
# @option arguments [Number] :from Starting offset (default: 0)
# @option arguments [String] :ignore_indices When performed on multiple indices, allows to ignore `missing` ones
# (options: none, missing)
# @option arguments [Boolean] :lenient Specify whether format-based query failures
# (such as providing text to a numeric field) should be ignored
@@ -100,10 +103,11 @@
# (instead of using request body)
# @option arguments [String] :_source Specify whether the _source field should be returned,
# or a list of fields to return
# @option arguments [String] :_source_exclude A list of fields to exclude from the returned _source field
# @option arguments [String] :_source_include A list of fields to extract and return from the _source field
+ # @option arguments [List] :stored_fields A comma-separated list of stored fields to return in the response
# @option arguments [List] :stats Specific 'tag' of the request for logging and statistical purposes
# @option arguments [String] :suggest_field Specify which field to use for suggestions
# @option arguments [String] :suggest_mode Specify suggest mode (options: missing, popular, always)
# @option arguments [Number] :suggest_size How many suggestions to return in response
# @option arguments [Text] :suggest_text The source text for which the suggestions should be returned
@@ -124,10 +128,12 @@
:analyze_wildcard,
:default_operator,
:df,
:explain,
:fielddata_fields,
+ :docvalue_fields,
+ :stored_fields,
:fields,
:from,
:ignore_indices,
:ignore_unavailable,
:allow_no_indices,
@@ -145,9 +151,10 @@
:sort,
:source,
:_source,
:_source_include,
:_source_exclude,
+ :stored_fields,
:stats,
:suggest_field,
:suggest_mode,
:suggest_size,
:suggest_text,