SyliusElasticsearchPlugin
SyliusElasticsearchPlugin copied to clipboard
Why Filters management is different between search and listing (taxon) ?
I don't understand why facets are not implemented on taxon listing
Hi @flochntrl
Currently we have two supported branches: 1.x
and master. On the 1.x
we support ElasticSearch v6, on which (from my research) facets are not available. The documentation says something about facets starting from the 7.7 version.
As we support ES7 only since 2.1 version, we can consider using facets on 2.x
. I'll be back when have more details.
Hi @senghe i use the version 3.2.0 of the plugin, and the search page is still different from the taxon listing. The taxon listing not seems to use the facet registry i configured in my services.yaml. I can't see the filter others than price, while i can see them all on the search result page
Tested latest version v4.0.2
both forms use same listener for facets: https://github.com/BitBagCommerce/SyliusElasticsearchPlugin/blob/master/src/Form/Type/SearchType.php#L38 https://github.com/BitBagCommerce/SyliusElasticsearchPlugin/blob/master/src/Form/Type/ShopProductsFilterType.php#L36
so facet filters should be identical.
Missing price filter is not a bug, and can be added with customization.
closing as no longer relevant.