Make search result order match the order of objects received from Meilisearch #579
No reviewers
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#579
Loading…
Reference in a new issue
No description provided.
Delete branch "AdamK2003/akkoma:meilisearch-result-order"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The search results are normally sorted by published date before getting to the client, which makes the result order not match the Meilisearch result order if you tweak your Meilisearch ranking settings. This PR sorts the results back into the initial Meilisearch order after fetching them from the repo.
@AdamK2003 can you test whether
f32335742d
also works for you? It directly fetches results in the correct order instead of using a O(n²) resort afterwards, but i don’t have Meilisearch set up.EDIT: i was now able to confirm this works myself, see #772
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.