SyliusElasticsearchPlugin icon indicating copy to clipboard operation
SyliusElasticsearchPlugin copied to clipboard

Why Filters management is different between search and listing (taxon) ?

Open flochntrl opened this issue 2 years ago • 2 comments

I don't understand why facets are not implemented on taxon listing

flochntrl avatar Oct 20 '22 12:10 flochntrl

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.

senghe avatar Nov 03 '22 07:11 senghe

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

t-n-y avatar Aug 31 '23 08:08 t-n-y

Tested latest version v4.0.2

image image

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.

leszczuu avatar Aug 22 '24 10:08 leszczuu