Manh Nguyen
Sep 4, 2024
  1033
(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
Avoid Scandinavian Letters in File Names in Optimizely CMS

Discover how Scandinavian letters in file names can break media in Optimizely CMS—and learn a simple code fix to automatically sanitize uploads for...

Henning Sjørbotten | Jun 19, 2025 |

Exporting Optimizely databases causing errors

Solutions to a couple of recurring issues when migrating databases to the cloud.

Tomas Hensrud Gulla | Jun 18, 2025 |

Common Pitfalls with Search in Optimizely Graph - and How to Avoid Them

Optimizely Graph offers powerful, flexible search capabilities out of the box, making it a popular choice for headless implementations. However, li...

Michał Mitas | Jun 18, 2025

Introducing the Feature Experimentation Administrator Certification

We’re excited to announce the launch of the  Feature Experimentation Administrator Certification,  the newest addition to our growing suite of...

Satata Satez | Jun 18, 2025

UrlResolver Bug in Optimizely DXP: Troubleshooting Inconsistent URLs in Scaled-Out Apps

A while back, our team encountered a puzzling production bug: URLs generated by the UrlResolver would randomly differ depending on who accessed the...

David Drouin-Prince | Jun 18, 2025 |

Optimizely Commerce Connect: Enabling content-driven ecommerce experiences

The world of ecommerce today is a rapidly evolving field. No longer are customers satisfied with a long list of products that they have no idea how...

Shahrukh Ikhtear | Jun 16, 2025