class Elasticsearch::DSL::Search::Sorting::SimpleSort

Overview

A simple sort containing only a field and sort order pair.

Defined in:

elasticsearch-dsl/sorting.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(field : String, order : String) #

[View source]

Instance Method Detail

def field : String #

[View source]
def field=(field : String) #

[View source]
def order : String #

[View source]
def order=(order : String) #

[View source]
def to_json(json : JSON::Builder) #

[View source]