Method: Elastic::Query#sort
- Defined in:
- lib/elastic/query.rb
#sort(*_params) ⇒ Object
26 27 28 29 30 |
# File 'lib/elastic/query.rb', line 26 def sort(*_params) with_clone do |config| config.sort = Commands::BuildSortFromParams.for(index: index, params: _params) end end |