LayeredNavigation error when using ElasticSearch

Comments

10 comments

  • Official comment
    Avatar
    Support

    Issues with the latest versions of Elastic Search 6.0+ are already addressed in March & April 2020 releases, try upgrading to the latest product version (v.1.9.7 - May 7, 2020)  and you should receive the compatibility as well as other new features and small improvements. 

    Here is a list of all the changes included in the latest versions of the product:

    https://www.weltpixel.com/resources/PearlTheme/User-Guide-WeltPixel-Pearl-Theme-Magento2.html#change-log 

    Comment actions Permalink
  • Avatar
    Zhuoyan Xu

    Having the similar issue. any idea guys?

    0
    Comment actions Permalink
  • Avatar
    orolfes

    Hello,
    by weltpixel, your modules have only been tested and confirmed for compatibility up to ElasticSearch 5.0+.

    If you need to use ElasticSearch, make sure you're using a version equal to or less than 5.0+, and everything should work fine.

    Perhaps it will help.

    -1
    Comment actions Permalink
  • Avatar
    Paul Fabsits

    We have the same issue. We are running V2.3.2P2 and V2.3.3 with the Weltpixel version released in March. We are using Magento Commerce cloud and have ElasticSearch 6.0. The issue does not happen on lower branches using mysql search.

    We have disable Weltpixel Layered Navigation but the Weltpixel code is still there and is failing due to a call to elastic search (our Senior Developer submitted a ticket with the specific code causing the issue). This only happens when there is one search result available. For example a list of products in which there is one at a Price greater than $200.

    Will Weltpixel fix or do we have to use an Elastic Search version that is out of date?

     

    1
    Comment actions Permalink
  • Avatar
    Zhuoyan Xu

    Can weltpixel fix this issue? 

    I had this since the beginning. 

    0
    Comment actions Permalink
  • Avatar
    Paul Fabsits

    The theme was installed in December and we have done the March update. We have received a patch and the Layered Navigation model shows that it is up to date (1.9.7).  This does not fix the issue but only hides the error message. It is not possible to filter an attribute that only has a single item (i.e. >$200 has 1 item). There is an issue in the logic that our Developer has submitted through support center.

    Switching search engines seems to be the only solution.

    1
    Comment actions Permalink
  • Avatar
    Paul Fabsits

    Zhuoyan, I found a fix that might work for you. Category --> Display Settings --> Default Product Listing Sort By.  Use "Alphabetically"  the filter now works.

    Not ideal since when a customer lands on a category result page I prefer to have it sorted by "Most Relevant". I want control over the ordering of the listing.

    Weltpixel. Please look into. It is repeatable.

    Paul

    1
    Comment actions Permalink
  • Avatar
    Kaushik Chavda

    Hello

     

    I need support for this error,


    Fatal error: Uncaught Error: Call to undefined method WeltPixel\LayeredNavigation\Model\ResourceModel\Fulltext\Collection\Interceptor::addSortFilterParameters() in /app/web/vendor/smile/elasticsuite/src/module-elasticsuite-catalog/Plugin/LayerPlugin.php:87 Stack trace: #0 /app/web/vendor/smile/elasticsuite/src/module-elasticsuite-catalog/Plugin/LayerPlugin.php(67): Smile\ElasticsuiteCatalog\Plugin\LayerPlugin->setSortParams(Object(Magento\Catalog\Model\Layer\Category\Interceptor), Object(WeltPixel\LayeredNavigation\Model\ResourceModel\Fulltext\Collection\Interceptor)) #1 /app/web/vendor/magento/framework/Interception/Interceptor.php(121): Smile\ElasticsuiteCatalog\Plugin\LayerPlugin->beforePrepareProductCollection(Object(Magento\Catalog\Model\Layer\Category\Interceptor), Object(WeltPixel\LayeredNavigation\Model\ResourceModel\Fulltext\Collection\Interceptor)) #2 /app/web/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Model\Layer\Category\Interceptor->Magento\Framework\Interception\{closure}(Obj in /app/web/vendor/smile/elasticsuite/src/module-elasticsuite-catalog/Plugin/LayerPlugin.php on line 87

    0
    Comment actions Permalink
  • Avatar
    Zhuoyan Xu

    Thanks a lot Paul for your advise. I consistently have an issue with ElasticSearch on Weltpixel pearl theme. An additional issue is that if I sort the category by Best Selling, the page taking very long to load. Also I checking my aws usage, this action consumes a lot of CPU power (probably due to the large amount of inventory and history we have). Not ideal either. Weltptixel needs to optimise this. I understand this is a totally different issue.

     

    0
    Comment actions Permalink
  • Avatar
    Sushma Dsilva

    Hi,

    We are facing same issue where Most relevant in sort order throwing the error when Elastic search is enabled. is there fix in never version of Weltpixel layered navigation module?

    Regards,

    Sushma

     

    0
    Comment actions Permalink

Please sign in to leave a comment.