lib/elasticsearch/api/actions/get.rb in elasticsearch-api-1.0.1 vs lib/elasticsearch/api/actions/get.rb in elasticsearch-api-1.0.2

- old
+ new

@@ -20,10 +20,12 @@ # @option arguments [String] :preference Specify the node or shard the operation should be performed on # (default: random) # @option arguments [Boolean] :realtime Specify whether to perform the operation in realtime or search mode # @option arguments [Boolean] :refresh Refresh the shard containing the document before performing the operation # @option arguments [String] :routing Specific routing value + # @option arguments [Number] :version Explicit version number for concurrency control + # @option arguments [String] :version_type Specific version type (options: internal, external, external_gte, force) # @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 # @@ -39,9 +41,11 @@ :parent, :preference, :realtime, :refresh, :routing, + :version, + :version_type, :_source, :_source_include, :_source_exclude ] method = 'GET'