itstommymorgan / asari

a Ruby wrapper for AWS CloudSearch.
52 stars 51 forks source link

Sortability? #2

Closed cvincent closed 11 years ago

cvincent commented 11 years ago

I don't see any reference to it in the README or in the source code, so I had to ask. Is there any support for simple sorting of results as documented using the "rank" parameter? http://docs.aws.amazon.com/cloudsearch/latest/developerguide/sortingresults.html

itstommymorgan commented 11 years ago

@cvincent there isn't any support for this right now, although you're not the first person to ask. If you'd like to submit a PR for this I'd love to look into it - otherwise it's on my "get to it someday soon" list, as I don't personally have much of a need for it but it's been requested a few times.

cvincent commented 11 years ago

Here's a PR! https://github.com/duwanis/asari/pull/4

itstommymorgan commented 11 years ago

@cvincent I just merged the PR and released it as part of version 0.8.0 - going to consider this issue closed for now. Thanks!