3 min. read
Categories:
Sylius v0.12.0 with Faceted Search
Can you feel it? We are one step closer to the release. This time we added an awesome search functionality.
Sylius v0.12.0 with Faceted Search

After few months of hard work from the REISS team, especially Peter Ward and Argyrios Gounaris, we finally have a nice search functionality in Sylius!

Overview

The biggest new thing in this release is the Search system, which supports both Doctrine ORM driver and ElasticSearch!
We have also done several improvements and even more “foundation” work for the REST API, which coming very soon. I have already configured it for one project, now it is about moving it to the core. Sneak Peak!

Search

Until now, all Sylius stores running in production relied on the awesome Symfony2 ElasticSearch bundle.
As always, Sylius wants to make your life easier. Why would you need to do a lot of coding or pay (sic!) for a premium version in order to have powerful search?

From now on Sylius ships with SyliusSearchBundle, which can run on Doctrine ORM and ElasticSearch. In theory, we can add more drivers in the future, if community is interested in using Solr for example.

Obviously, the MySQL based solution is suitable for smaller stores, demo or just trying out Sylius locally without installing Java/ES.

Ok, so what the search can actually do?

Some of screenshots are from the new theme, which is a work in progress.

Faceted search

You can configure filters by price, options and attributes:

Search in categories

Of course, you can also search in a specific category:

Documentation and what is next

Documentation for this component is a work in progress, but configuration is really simple, because we actually use ElasticaBundle config schema.
Please keep in mind, that there will be a lot of improvements to both architecture and functionality of Sylius search, but it is already a good starter for your e-commerce apps. Enjoy!

Important changes coming to v0.13.x

In the development branch v0.13.x, I will merge a very important PR, which brings localization support.
This is a big change and contains multiple BC breaks. On the other hand, you get translatable products, options, attributes and even shipping methods… out of the box!

We provide a migration script, which is smart enough to update you to the new system and maintain the data. That being said, you use it at your own risk, please be careful.

More about this feature in the upcoming release blog post.

Installation

You can install and try the latest Sylius by running the following commands:

$ composer create-project -s dev sylius/sylius:v0.12.0
$ cd sylius
$ app/console sylius:install

To start a new project on top of Sylius, use Standard Edition:

$ composer create-project -s dev sylius/sylius-standard:v0.12.0 acme
$ cd acme
$ app/console sylius:install

Summary

As usually, huge thank you to all contributors and stay tuned for more!

Tags:
Share:
Paweł Jędrzejewski
Self-taught developer and entrepreneur, who has built an entire career and business through Open Source technology. Speaker at international conferences. PHPers meetups co-organizer. Keen on helping other young entrepreneurs and companies who may want to follow a similar path.
More from our blog
Technical 3 min read 04.12.2024
Here’s everything you had to know about the first major release since 2017! Over 7 years after the first major release, on Nov 12, 2024, we have released Sylius 2.0.0. We had a great opportunity to announce it first at SyliusCon in Lyon, but now, as we are back to… Read More
3 min read 22.11.2024
The emotions start to settle after SyliusCon, and it’s time to reflect on this incredible milestone in our journey. Why a milestone? Because SyliusCon exceeded our expectations in every possible way. We broke attendance records and brought together the key figures of our community, numerous partners, freelancers, and simply all… Read More
Cloud 3 min read 17.06.2024
We are thrilled to announce that we just signed a strategic partnership with Platform.sh, and as a result, we are extending our offer with Sylius Cloud powered by Platform.sh. Platform.sh is a modern Platform-as-a-Service (PaaS) solution that allows businesses to leverage the cloud environment without losing access to the code… Read More
Comments