A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

manh_nguyen
Sep 4, 2024
  1736
(4 votes)

Non-blocking Search with Optimizely Search & Navigation

We are thrilled to announce the integration of asynchronous functions into Optimizely’s Search & Navigation features, which have been supported since version 16.3.0. By using these functions, you can leverage the benefits of asynchronous programming and performance improvements. They are particularly helpful if you are building your app with a microservices architecture or simultaneous searching for better user experiences.

The current synchronous functions such as search features, tracking, indexing...can be marked as deprecate in the future.

We've already known the advantages of Asynchronous programming:

  1. Enhanced Performance: Asynchronous operations enable non-blocking processes, reducing wait times and improving overall system responsiveness.
  2. Scalability: Handle multiple requests simultaneously, ensuring consistent performance even during peak usage.
  3. User Experience: Faster response times lead to a smoother, more dynamic user experience.

How we leverage these advantages in Search & Navigation?

Imagine an user searching for a product on your e-commerce site. With asynchronous search, the request is processed instantly. Simultaneously, tracking and statistics operations run in the background, updating user interactions in real-time without impacting the search performance. Paging through results remains smooth and quick, giving users a better experience.

var results = await SearchClient.Instance
.UnifiedSearch()
.For("search navigation")
.WithAndAsDefaultOperator()
.UsingAutoBoost()
.ApplyBestBets()
.Track() // statistical track will run asynchnorously and not affect to the search request
.GetResultAsync();

By integrating asynchronous functions, Optimizely Search & Navigation ensures your platform is future-proof, delivering better performance and a better user experience. Upgrade today to experience the difference!

See developer's document for more detail and please don't hesitate contact us if you have any question or feedback.

Sep 04, 2024

Comments

Mike Malloy
Mike Malloy Sep 10, 2024 12:47 PM

No mention of it here on the Release page: https://support.optimizely.com/hc/en-us/articles/23973547163917-2024-Search-Navigation-release-notes

Looks like 16.3.0 also adds the ability to find items in the index via the editor and delete them permanently.

Please login to comment.
Latest blogs
Building simple Opal tools for product search and content creation

Optimizely Opal tools make it easy for AI agents to call your APIs – in this post we’ll build a small ASP.NET host that exposes two of them: one fo...

Pär Wissmark | Dec 13, 2025 |

CMS Audiences - check all usage

Sometimes you want to check if an Audience from your CMS (former Visitor Group) has been used by which page(and which version of that page) Then yo...

Tuan Anh Hoang | Dec 12, 2025

Data Imports in Optimizely: Part 2 - Query data efficiently

One of the more time consuming parts of an import is looking up data to update. Naively, it is possible to use the PageCriteriaQueryService to quer...

Matt FitzGerald-Chamberlain | Dec 11, 2025 |

Beginner's Guide for Optimizely Backend Developers

Developing with Optimizely (formerly Episerver) requires more than just technical know‑how. It’s about respecting the editor’s perspective, ensurin...

MilosR | Dec 10, 2025