Class: Elasticsearch::DSL::Search::Queries::Ids

Inherits:
Object
  • Object
show all
Includes:
BaseComponent
Defined in:
lib/elasticsearch/dsl/search/queries/ids.rb

Overview

A query which returns documents matching the specified IDs

Examples:


search do
  query do
    ids values: [1, 2, 3]
  end
end

See Also:

Method Summary

Methods included from BaseComponent

included, #initialize