Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting offset and sort options #10

Open
huevosdeoro opened this issue Aug 18, 2014 · 2 comments
Open

Supporting offset and sort options #10

huevosdeoro opened this issue Aug 18, 2014 · 2 comments

Comments

@huevosdeoro
Copy link

Very useful plugin. Thanks!

Are there plans to support a offset and sort option? I would like to paginate full text search results based on a specified sort order.

@nschloe
Copy link

nschloe commented Mar 13, 2015

+1

@poksme
Copy link

poksme commented May 4, 2015

Useful plugin indeed.

I agree that the offset option would really be useful, but I understand the opinionated score sorting.

One dirty way of achieving paginated results with score sorting would be to pass an id list of previously fetched items in a $nin condition query in the filter option. (see http://mongoosejs.com/docs/api.html#query_Query-nin )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants