If you are interested in learning what Elasticsearch has to offer you, come catch my talk at the Annual PHP Cape Town Conference.
Three days packed with interesting talks starting on the 2nd of October 2014.
If you are interested in learning what Elasticsearch has to offer you, come catch my talk at the Annual PHP Cape Town Conference.
Three days packed with interesting talks starting on the 2nd of October 2014.
Using the Elasticsearch PHP API to do an ascending sort is simple:
$params['sort'] = array('updated_at');
However I found performing a descending sort much less intuitive. Eventually I figured out it should be:
$params['sort'] = array('updated_at:desc');