Try our conversational search powered by Generative AI!

Tung Tran
Apr 15, 2024
  206
(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
Upgrade Optimizely CMS From v11 to v12

Why Upgrade? There are many improvements implemented in version 12, but most importantly is that the whole framework is migrated from .Net Framewor...

MilosR | May 13, 2024

Configured Commerce - Infrastructure Updates Ahoy!

I'm very happy to share an important milestone - we no longer have any customers in our legacy v1 environment!  This means that the Configured...

John McCarroll | May 10, 2024

A day in the life of an Optimizely Developer - Enabling Opti ID within your application

Hello and welcome to another instalment of A Day In The Life Of An Optimizely developer, in this blog post I will provide details on Optimizely's...

Graham Carr | May 9, 2024

How to add a custom property in Optimizely Graph

In the Optimizely CMS content can be synchronized to the Optimizely Graph service for it then to be exposed by the GraphQL API. In some cases, you...

Ynze | May 9, 2024 | Syndicated blog