class SortBuilders

Public Class Methods

field_sort(*args) click to toggle source
# File lib/sort_builders.rb, line 3
def self.field_sort *args
  return Sort::FieldSortBuilder.new(*args)
end
geo_distance_sort(*args) click to toggle source
# File lib/sort_builders.rb, line 7
def self.geo_distance_sort *args
  return Sort::GeoDistanceSortBuilder.new(*args)
end
nested_sort(*args) click to toggle source
# File lib/sort_builders.rb, line 11
def self.nested_sort *args
  return Sort::NestedSortBuilder.new(*args)
end
score_sort() click to toggle source
# File lib/sort_builders.rb, line 15
def self.score_sort
  return Sort::ScoreSortBuilder.new
end
script_sort(*args) click to toggle source
# File lib/sort_builders.rb, line 19
def self.script_sort *args
  return Sort::ScriptSortBuilder.new(*args)
end