Hi @joelrhd
Imagine you have 1000 ‘post’ records and some records of other post_types. If you show ‘post’ records on the top, it’s most possible users will never see other post_types (since they will be on 100th page of search result list) even if these posts are very relevant. So basically you need to decide which ordering you need to use.
“Sort by relevance” and “sort by post_type” are just conflicting conditions.
Yes, we can use some weights for specific post_types to make them “more relevant than other post types”. Say, for example, “post” should have weight = 1.0 and all other post_types have weight = 0.5.
In this case ‘post’ tends to be shown higher than any other post_type with lower initial relevance. But the benefit to the user is questionable, because they will see less relevant entries higher up than more textually appropriate entries of a different type.
Could you describe your problem more precisely so that I can suggest a more correct solution? It seems to me that the double sorting in this case won’t have the right effect.
Thanks!