Try our conversational search powered by Generative AI!

Tung Tran
Apr 15, 2024
  212
(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
Azure AI Language – Sentiment Analysis in Optimizely CMS

In the following article, I showcase how sentiment analysis, which is part of the Azure AI Language service, can be used to detect the sentiment of...

Anil Patel | May 15, 2024 | Syndicated blog

Optimizely Data Platform Visitor Groups now supports multiple instances

The module V2.0 now supports multiple Optimizely Data Platform instances, allowing personalized content based on real-time segments and profile dat...

Andrew Markham | May 15, 2024 | Syndicated blog

IP block for edit and admin in DXP

Why IP-blocking edit/admin? A hacker can try to guess user names and passwords to gain access to your site. This risk can be minimized in a couple ...

Daniel Ovaska | May 15, 2024

Do not upgrade to EPiServer.CMS.Core 12.21.4 without reading this!

Todays update of EPiServer.CMS.Core 12.21.4 alters default sort order in an unexpected way, when you are working with muligple languages and have...

Tomas Hensrud Gulla | May 14, 2024 | Syndicated blog

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