Skip to content

Instantly share code, notes, and snippets.

@monken
Created February 12, 2011 19:51
Show Gist options
  • Save monken/824052 to your computer and use it in GitHub Desktop.
Save monken/824052 to your computer and use it in GitHub Desktop.
encode_json(
{ query => { term => { name => $module } },
size => 1,
sort => { date => { reverse => \1 } }
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment