Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Tung Tran
Apr 15, 2024
  807
(1 votes)

Optimizely Search & Navigation: Boosting in Unified Search

In the Optimizely Search & Navigation admin view, administrators can set a certain weight of different properties (title, content, summary, or document content). When an user searches for a keyword that matches to a property's value, the higher weight of that property will make the matching pages to be more likely to appear at the top of the search result.

Boostadmin

Once you configured the weights, you can boost scores by calling a standard Unified Search method - UnifiedSearchFor:

var result = client.UnifiedSearchFor(searchText).GetResult();

Or calling UsingUnifiedWeights() with no parameters. This can also boost the scores based on the admin-defined weights.

var result = client.UnifiedSearch(Language.English).For(searchText).UsingUnifiedWeights().GetResult();

The problem:

However, in real life scenarios, those 4 out-of-the-box property weights in admin view are obviously not enough. For example, we want to boost the Author's name of the Article Page when using search. How can we do that?

For more details, please visit this complete post.

Apr 15, 2024

Comments

Please login to comment.
Latest blogs
Save The Date - London 2025 Summer Meetup

Following last years very succesful meetup in London July 2024 https://world.optimizely.com/blogs/scott-reed/dates/2024/7/optimizely-london-dev-mee...

Scott Reed | Mar 25, 2025

Revalidate Page in Next.js after Publishing Content in Headless Optimizely PaaS CMS.

Headless CMS implementations are becoming increasingly popular. In this approach, the CMS and the front-end application are decoupled and can use...

Tomek Juranek | Mar 25, 2025

Getting 404 when expecting 401

A short story about the mysterious behavior of an API in headless architecture.

Damian Smutek | Mar 25, 2025 |

A Free Course for Building Headless Applications with Next.js and Optimizely SaaS CMS

I am excited to announce the transformation of Optimizely Headless CMS webinar into a comprehensive, completely free self-paced course that's...

Szymon Uryga | Mar 24, 2025