Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Emil Lindgren 22 posts 183 karma points
    1 week ago
    Emil Lindgren
    0

    Examine search categorized.

    Hello, so I'm wondering if there is a way of categorizing the search?

    So if i want to have all the products at the top of the search result in a section, after (below) products i want all the blog post in a section.

    • Products Product one Product Two
    • Blogs Blog one Blog Two

    If there is a way (at least i think there is), can someone guide me or just get me in the right way.

    Kind regards / Emil

  • Mila Pandurska 48 posts 251 karma points
    4 days ago
    Mila Pandurska
    0

    Hi Emil,

    I think you need Examine Boost

    var query = searchCriteria.Fields("nodeTypeAlias","product".Boost(8));
    

    Mila

Please Sign in or register to post replies

Write your reply to:

Draft