In the fast-paced world of eCommerce, the success of an online store hinges on its ability to provide users with a seamless and efficient product discovery experience. In this blog post, we’ll delve into the business and technical aspects of product search in online stores, shedding light on the challenges posed by traditional databases and exploring the transformative power of Elasticsearch (Advanced search in Sylius). Additionally, we’ll take a closer look at our plugin and how it enhances Sylius’s search capabilities.

Quick jump

Business Perspective

Efficient product search mechanisms are the lifeblood of successful online stores. The ability to predict and suggest search results not only enhances user experience but also significantly impacts conversion rates.

Predictive Search Suggestions

Implementing predictive search suggestions based on user input is a game-changer. By anticipating and presenting relevant product suggestions as users type, online retailers can guide their customers to their desired items more effectively.

Analyzing and incorporating data on the most frequently searched phrases empowers online businesses to optimize their product listings, ensuring they align with customer interests and preferences.

Technical Overview

Limitations of Traditional Databases

Traditional SQL databases face inherent challenges in handling complex search queries. Issues such as slow SQL Join operations and the absence of robust full-text search capabilities hinder their effectiveness in the dynamic world of eCommerce.

Enter Elasticsearch

Elasticsearch emerges as a superior alternative for powering search functionalities. Its distributed architecture and support for full-text search make it an ideal choice for online stores looking to provide a responsive and feature-rich search experience.

Crafting Elasticsearch Queries

Understanding the basics of crafting queries for Elasticsearch is crucial. From simple searches to complex aggregations, Elasticsearch offers a versatile set of tools to tailor the search experience to the specific needs of an online store.

Indexing Nested Structures

Elasticsearch’s NoSQL nature allows for efficient indexing of nested structures. This flexibility is a game-changer, particularly in eCommerce scenarios where products often come with intricate attribute hierarchies.

Elasticsearch Plugin

Search on Your Website

The BitBag Elasticsearch Plugin integrates Elasticsearch into Sylius, bringing advanced search capabilities directly to the storefront. Users can enjoy real-time, relevant search results without compromising on speed.

ElasticSearch 7 Compatibility

Keeping up with the latest technology trends, the plugin supports ElasticSearch 7, ensuring that online stores stay ahead in terms of performance, security, and features.

Category, Attribute, and Price Filtering

The BitBag Plugin extends the search functionality by allowing users to filter products within specific categories based on attributes and within desired price ranges. This precision empowers customers to narrow down their choices quickly.

Sorting and Pagination

Moreover, the plugin goes beyond filtering, offering users the ability to sort search results based on various criteria such as date, price, or popularity. This ensures that customers can easily find the products that best match their preferences. Additionally, smooth pagination is integrated, allowing users to navigate through search results, creating a smoother and more enjoyable browsing experience.


Built with extensibility in mind, the BitBag Elasticsearch Plugin offers a robust foundation for businesses to customize and expand their search capabilities as their needs evolve.


In the ever-evolving world of eCommerce, the role of advanced search functionalities cannot be overstated. By transitioning from traditional SQL databases to the transformative power of Elasticsearch, online retailers can elevate their product search experience, providing customers with a faster, more intuitive, and personalized journey. Our plugin, with its seamless integration and powerful features, stands as a testament to the commitment to staying at the forefront of eCommerce innovation.