Description Usage Arguments Value See Also Examples
Define Elasticsearch query sort
1 | sort_on(json)
|
json |
JSON object describing the sorting required on the query results. |
An elastic_sort
object.
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html
1 | sort_by_key <- sort_on('[{"sort_key": {"order": "asc"}}]')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.