Skip to content

Instantly share code, notes, and snippets.

@tmkasun
Last active June 14, 2016 11:55
Show Gist options
  • Save tmkasun/d64cccfdd3b6807bb23dbf0b01e53fe0 to your computer and use it in GitHub Desktop.
Save tmkasun/d64cccfdd3b6807bb23dbf0b01e53fe0 to your computer and use it in GitHub Desktop.
WSO2 Sample solr query for sorting assets by overview_name
{
"params": {
"q": "*TO*",
"indent": "true",
"fq": [
"tenantId:\\-1234",
"allowedRoles:(internal/everyone OR admin)",
"mediaType_s:application/vnd.wso2-gadget+xml"
],
"sort": "overview_name_s asc",
"wt": "json"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment