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

Add Meilisearch finite pagination by default in the meilisearch extra #417

Merged

Conversation

brunoocasali
Copy link
Contributor

@brunoocasali brunoocasali commented Dec 13, 2022

Hi @ddnexus, this is the implementation to v6, which will support the finite pagination of Meilisearch out of the box.

The limit and offset params should no longer be used in this context, so this will be the most significant breaking change.

  • Try out with a rails app.

@ddnexus
Copy link
Owner

ddnexus commented Dec 14, 2022

@benkoshy Please, when the retype branch will be updated, could you update the retype doc with the doc changes in this PR. Thanks!

@ddnexus
Copy link
Owner

ddnexus commented Dec 14, 2022

@brunoocasali FYI: There is a meilisearch related question, asked months ago (#400) that you may want to address officially...

@brunoocasali brunoocasali force-pushed the feature/meilisearch-finite-pagination branch from c8f346b to bb32ce0 Compare December 14, 2022 22:36
@brunoocasali brunoocasali marked this pull request as ready for review December 15, 2022 18:00
With this change it's possible to use Meilisearch's new pagination "finite pagination".
This is a breaking change because there is no limit/offset anymore, but hits_per_page/page.

Check it out https://docs.meilisearch.com/learn/advanced/pagination.html#implementation-2
@brunoocasali brunoocasali force-pushed the feature/meilisearch-finite-pagination branch from bb32ce0 to 4b9e567 Compare December 15, 2022 18:02
@brunoocasali
Copy link
Contributor Author

I tried locally with a simple rails app, and it seems to be working fine @ddnexus :)

@ddnexus
Copy link
Owner

ddnexus commented Dec 16, 2022

Thank you @brunoocasali !

@ddnexus ddnexus mentioned this pull request Dec 16, 2022
@brunoocasali brunoocasali deleted the feature/meilisearch-finite-pagination branch December 16, 2022 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants