Add plugins
aladh opened this issue · comments
Allow user-defined query methods to be used in the block scope.
Eg.
def fancy_query
or! do
field_a('foo')
field_b('bar')
end
end
Searchable.cloudsearch.and!{fancy_query}
AWS CloudSearch Query DSL
aladh opened this issue · comments
Allow user-defined query methods to be used in the block scope.
Eg.
def fancy_query
or! do
field_a('foo')
field_b('bar')
end
end
Searchable.cloudsearch.and!{fancy_query}