lib/elasticsearch/api/actions/terms_enum.rb in elasticsearch-api-8.2.2 vs lib/elasticsearch/api/actions/terms_enum.rb in elasticsearch-api-8.3.0

- old
+ new

@@ -12,20 +12,23 @@ # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. - +# +# Auto generated from build hash 7faba7ad1bfe9ef9b821e7bca858346ca80e6030 +# @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec +# module Elasticsearch module API module Actions # The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. # # @option arguments [List] :index A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices # @option arguments [Hash] :headers Custom HTTP headers # @option arguments [Hash] :body field name, string which is the prefix expected in matching terms, timeout and size for max number of results # - # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.2/search-terms-enum.html + # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.3/search-terms-enum.html # def terms_enum(arguments = {}) raise ArgumentError, "Required argument 'index' missing" unless arguments[:index] arguments = arguments.clone