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

Make use of Meilisearch sorting #27

Merged
merged 3 commits into from
Nov 2, 2023
Merged

Make use of Meilisearch sorting #27

merged 3 commits into from
Nov 2, 2023

Conversation

duncanmcclean
Copy link
Member

Initial PR: #26

Make use of Statamic score sorting so we can have the results sorted as they appear in Meilisearch and not by UUIID in Statamic.

robbanl and others added 3 commits October 31, 2023 11:03
This matches where the search score is set in the Algolia driver.
@duncanmcclean duncanmcclean merged commit cc044a3 into main Nov 2, 2023
2 checks passed
@duncanmcclean duncanmcclean deleted the codepeak/main branch November 2, 2023 12:12
@robbanl
Copy link
Contributor

robbanl commented Nov 2, 2023

Nice!!

ryanmitchell added a commit to ryanmitchell/statamic-meilisearch that referenced this pull request Dec 8, 2023
commit 2616097
Author: Duncan McClean <[email protected]>
Date:   Mon Nov 27 11:16:32 2023 +0000

    Changelog

commit 3473720
Author: Ryan Mitchell <[email protected]>
Date:   Mon Nov 27 11:14:28 2023 +0000

    Support site based indexes (statamic-rad-pack#29)

commit 416ad1c
Author: Duncan McClean <[email protected]>
Date:   Thu Nov 2 12:14:45 2023 +0000

    Changelog

commit cc044a3
Author: Duncan McClean <[email protected]>
Date:   Thu Nov 2 12:12:17 2023 +0000

    Make use of Meilisearch sorting (statamic-rad-pack#27)

    * Make use of ranking score from Meilisearch

    * Return collection

    * Move `->map()` into Query

    This matches where the search score is set in the Algolia driver.

    ---------

    Co-authored-by: Robert <[email protected]>

commit 644e81a
Author: Duncan McClean <[email protected]>
Date:   Tue Oct 17 09:31:29 2023 +0100

    wip

commit 2ee612f
Author: Duncan McClean <[email protected]>
Date:   Tue Oct 17 09:29:51 2023 +0100

    Changelog

commit 1b5fd77
Author: Ryan Mitchell <[email protected]>
Date:   Tue Oct 17 09:25:30 2023 +0100

    Specify a high maxTotalHits and hitsPerPage to avoid pagination issues (statamic-rad-pack#24)

    * Fix pagination issues

    * Fix tpyo

    ---------

    Co-authored-by: Duncan McClean <[email protected]>

commit 6c21d26
Author: Duncan McClean <[email protected]>
Date:   Tue Oct 17 08:36:12 2023 +0100

    Changelog

commit ed81ffe
Author: Ryan Mitchell <[email protected]>
Date:   Tue Oct 17 08:33:26 2023 +0100

    Fix naming issues (statamic-rad-pack#23)
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

Successfully merging this pull request may close these issues.

2 participants