Skip to content

Impossible to order scope by score #11702

Discussion options

You must be logged in to vote

Does anyone know how I could create a score based on the number of matching taxonomy terms for ordering the scope result? Any insights, best practices, or pointers to similar implementations would be greatly appreciated!

I don't believe it's possible to score results in a query like that. You might need to create a custom tag, do two queries to get the items, then manually sort the results.

(I've moved this into a discussion, since it's not really a bug)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jimblue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #11681 on April 15, 2025 11:22.