Class: MmEsSearch::Api::Query::MatchAllQuery

Inherits:
AbstractQuery show all
Defined in:
lib/mm_es_search/api/query/match_all_query.rb

Direct Known Subclasses

MatchAllFilter

Instance Method Summary collapse

Methods inherited from AbstractQuery

#es_abs_field, #mongo_abs_field, #path_and_index, #to_filter

Instance Method Details

#to_es_queryObject



11
12
13
# File 'lib/mm_es_search/api/query/match_all_query.rb', line 11

def to_es_query
  return {:match_all => {}}
end

#to_mongo_query(options = {}) ⇒ Object



7
8
9
# File 'lib/mm_es_search/api/query/match_all_query.rb', line 7

def to_mongo_query(options = {})
  return {}
end