Class: Stretchy::Queries::MatchAllQuery
- Defined in:
- lib/stretchy/queries/match_all_query.rb
Constant Summary
Constants included from Utils::Contract
Utils::Contract::ASSERTIONS, Utils::Contract::DECAY_FUNCTIONS, Utils::Contract::DISTANCE_FORMAT
Instance Method Summary collapse
-
#initialize ⇒ MatchAllQuery
constructor
A new instance of MatchAllQuery.
- #to_search ⇒ Object
Methods included from Utils::Contract
included, #require_one, #validate!
Constructor Details
#initialize ⇒ MatchAllQuery
Returns a new instance of MatchAllQuery.
7 8 |
# File 'lib/stretchy/queries/match_all_query.rb', line 7 def initialize end |
Instance Method Details
#to_search ⇒ Object
10 11 12 |
# File 'lib/stretchy/queries/match_all_query.rb', line 10 def to_search { match_all: {} } end |