Class: MmEsSearch::Api::Query::QueryStringQuery
Instance Method Summary
collapse
#es_abs_field, #mongo_abs_field, #path_and_index, #to_filter
Instance Method Details
#to_es_query ⇒ Object
27
28
29
30
31
|
# File 'lib/mm_es_search/api/query/query_string_query.rb', line 27
def to_es_query
return {:query_string => self.attributes.except("_type")}
end
|
#to_mongo_query(options = {}) ⇒ Object
21
22
23
24
25
|
# File 'lib/mm_es_search/api/query/query_string_query.rb', line 21
def to_mongo_query(options = {})
raise "QueryStringQuery doesn't support mongo execution"
end
|