Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.

Empty category collection when using elasticsearch. #153

Closed
di-repo opened this issue Aug 28, 2019 · 2 comments
Closed

Empty category collection when using elasticsearch. #153

di-repo opened this issue Aug 28, 2019 · 2 comments

Comments

@di-repo
Copy link

di-repo commented Aug 28, 2019

Magento 2.3.3 Commerce, Alpaca theme 1.3.1, Elasticsearch 6, Magento Sample data installed, visiting any category page will results in the message - "We can't find products matching the selection." shown in the products list space. The same as if no products are available.
With the same product setup but with mysql as a search engine products load successfully.
I have tracked down the issue to:

<!-- vendor/snowdog/theme-frontend-alpaca/Magento_Catalog/layout/catalog_category_view.xml:21 -->
        <!-- Moved blocks -->
        <move element="div.sidebar.main" destination="columns" before="main"/>

Moving Layered navigation before the product list causes the empty product collection. If I comment this line the product collection loads fine.

@AJMaxwell
Copy link

I am having the same issue. Still trying to figure out exactly why this is happening.

You can work around it by navigating to to Stores > Settings > Configuration > Catalog > Catalog > Catalog Search and changing "Search Engine" to MySQL.

@Igloczek
Copy link
Contributor

Igloczek commented May 25, 2020

Alpaca 1.x does not support Elasticsearch based catalog.

It's going to change in the incoming 2.0 release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants