• Is it possible to increase the weight of certain post types over others? It’s mentioned on the filter page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Any advice on this? I need this as well. We want the search to sort by relevance first then list the Page post type on top of other post types.

    Plugin Author Epsiloncool

    (@epsiloncool)

    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!

    Thread Starter mferrante83

    (@mferrante83)

    Hey @epsiloncool I can’t speak for @joelrhd but in our case we are a public library website. Our posts are typically more basic news and announcements while static information (information our users are most-likely to search for, stuff like checking out ebooks, etc.) are going to be found on our pages.

    As an example we have posted most recently about a new ebook however, even several times over a number a weeks or months, but if a user comes and searches for ebooks looking to find out how to access/download titles those posts will drown out the actual page with instructions for access.

    Does that make sense?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Post Type Weight’ is closed to new replies.