graveyard v0.2.1 Graveyard.ORM.Query.Range View Source

Link to this section Summary

Functions

Returns a Tirexs-ready map structure for a range query (reference: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html) The format of filter must follow this example:

%{"type" => "range", "field" => "released_at", "from" => "01/01/2014", "to" => "01/02/2014"}

Link to this section Functions

Returns a Tirexs-ready map structure for a range query (reference: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html) The format of filter must follow this example:

%{"type" => "range", "field" => "released_at", "from" => "01/01/2014", "to" => "01/02/2014"}