Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > How to filter the search results by relevance? View modes: 
User avatar
Member
Member
kimi.chagn-chillit.com - 8/13/2013 11:25:42 PM
   
How to filter the search results by relevance?
Hello Kentico Support,

How can i only see the smart search results by certain of relevance score, say "score >0.5"?

And how can i apply that to a specific smart search filter?

Thanks

User avatar
Kentico Support
Kentico Support
kentico_filipl - 8/14/2013 9:26:57 AM
   
RE:How to filter the search results by relevance?
Hello,

Unfortunately achieving this functionality is not very straightforward and cannot be accomplished directly with built-in Smart search web parts.

There are two workarounds which you can use:
1. Modify code of Smart search results web part according to your needs (Developer's Guide - Modifying the code of standard web parts).
2. Use custom Javascript to hide results (using CSS for instance) which do not have sufficient score.

Best regards,
Filip Ligac

User avatar
Member
Member
kimiiic - 8/15/2013 12:36:06 AM
   
RE:How to filter the search results by relevance?
Thanks Filip, i will dig it out.

I know how to hide with Javascript, but it might not be working with the pagination on smart search results.