Giza.SphinxQL.Recipe.weigh_by_date

You're seeing just the function weigh_by_date, go back to Giza.SphinxQL.Recipe module for more information.
Link to this function

weigh_by_date(query, timestamp_field \\ "updated_timestamp")

Influence your search results by how recently they were added or updated (or whatever the date field you pass represents). For the example below ensure you are selecting the date in your index as a unix timestamp (mysql: UNIX_TIMESTAMP(updated_timestamp), postgres: extract(epoch from updated_timestamp)).

Example

iex> SphinxQL.new()
|> SphinxQL.from("blog_posts")
|> SphinxQL.match("red clown")
|> SphinxQL.Recipe.weigh_by_date("last_updated_timestamp")
|> SphinxQL.send()

%SphinxqlResponse{ .. }