Questions tagged [elasticsearch]

Denotes questions regarding Elasticsearch

222 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
16 votes
1 answer
2k views

Warning: call_user_func_array() expects parameter 1 to be a valid callback Magento 2.3

I have installed Smile_Elasticsearch extension.It is working fine with the default mode but when I enabled developer mode it is showing an error. Warning: call_user_func_array() expects parameter 1 ...
user avatar
5 votes
4 answers
2k views

reindex does not works on magento 2

Have tried below commands provided for similar queries to resolve reindex issue but failed. php bin/magento indexer:info php bin/magento indexer:status php bin/magento indexer:reset php bin/magento ...
user avatar
4 votes
1 answer
345 views

Custom condition for Elastic search collection in Magento 2

I am trying to add the custom condition for the product collection using the below plugin for elastic search. app/code/Vendor/Module/etc/frontend/di.xml <type name="Magento\Elasticsearch7\...
user avatar
  • 135
4 votes
0 answers
1k views

Magento 2.4 - Elastic Search Out of Stock products at end of Product Listings

I need to display Out of Stock products at end of the Listing in category page. I have overided the SetCollection method in Toolbar.php using around method(upto magento 2.3.5 without elasticsearch it ...
user avatar
  • 1,696
4 votes
0 answers
397 views

Magento 2 GraphQl + Elasticsearch 6, GraphQl query products do not run pass by elasticsearch

I have a problem with query: { products( filter: { sku: { like: "24-WB%" } } ) { items { sku } } } Although using search engine is "...
user avatar
4 votes
0 answers
862 views

magento2 creating custom search api using elastic search functionality but can not able to create instance

I am creating custom search API using elastic search functionality but can not able to create an instance of \Magento\Framework\Search\RequestInterface $requestInterface, it is giving an error like ...
user avatar
4 votes
0 answers
306 views

How to limit the search index fields in Magento?

We are using elastic search 6.x and facing search index limit exceeded error. As per this doc https://support.magento.com/hc/en-us/articles/360003290654-Exception-on-category-page-with-...
user avatar
  • 1,189
4 votes
0 answers
88 views

Magento 2 URL Rewrite data share to Elastic Search

I want to share my Url rewrite Data to Elastic search, So is there any common function for Tracking URL when Product add/update/, Category add/update, Product import etc when URL is change or update.
user avatar
4 votes
0 answers
485 views

Magento & ElasticSearch- Issue on SKU search

I'm reading tons of Google search, but I cannot reach my goal. I've a M1.9.x website with ES. I've a custom module based on Smile Elastic Search (found on GitHub). I need to search with PARTIAL sku....
user avatar
3 votes
0 answers
92 views

Magento with ElasticSearch index

I'm trying to understand the "We can't find products matching the selection" issue that happens a few times a week with the Magento. Most of the time(80%), this is resolved automatically in ...
user avatar
  • 41
3 votes
2 answers
2k views

Elastic Search: Custom sorting options not working after enable elastic search

I'm trying to add custom sorting options like newest products,price high-to-low & price low-to-high in category page using plugin. After creating plugin it's working good in category page and ...
user avatar
  • 771
3 votes
0 answers
1k views

Magento 2.4.1 Elastic Search critical error failed to create query "all shards failed"

I updated my site to Magento 2.4.1 after that in my exception.log i continueously get folllowing error : main.CRITICAL: {"error":{"root_cause":[{"type":"...
user avatar
3 votes
0 answers
66 views

magento 2 plugin settingpageSize

I have created plugin for elasticSearch to set the size of the page <?php namespace Devall\ElasticsearchPlugin\Plugin\Checkout\Controller; class EmptyProducts { public function afterResolve($...
user avatar
3 votes
2 answers
491 views

Magento 2.3.3 elasticsearch high CPU

This question is already on Elasticsearch forums: Elastic Forum I am new to Elasticsearch. I use one installation on my server with version 6.8.5 for a Magento 2 instance I have. I am using java-8-...
user avatar
  • 912
3 votes
1 answer
417 views

undefined factory elasticsearch6

after enable Elasticsearch6+ in backend, i receive the error undefined factory elasticsearch6 at catalog and search page. I have done a reindex, but it doesn't change. Magento 2.3.2 System.log: [...
user avatar
3 votes
0 answers
84 views

Magento 2 Elastic search results show different relevant results

We are using Magento 2.1.8 and facing issue with elastic search results, it's returning all relevant results instead of exact results.
user avatar
2 votes
0 answers
143 views

Magento 2 search weight is not working

Magento 2.4 version using. Search weight is not working properly. My attribute weight settings - Attribute name Weight Product name 10 Short Description 5 Description 4 SKU 3 Weight 2 Suppose ...
user avatar
  • 1,143
2 votes
0 answers
101 views

Catalog Search result Wrong Result Magento 2

I am facing issue in the search result. I have installed Magento 2.4.0 and using Elasticsearch 7.0. When I search for h397 it gives me 4 product count and if I search for h397-4 it gives me 1868 ...
user avatar
2 votes
0 answers
122 views

Magento 2.4.2 and elasticsearch issue (sort by position)

As I have seen, sort by "position" does not work with Elasticsearch (I have no result when I want to see the products in a category). I would like to disable position sorting on ALL ...
user avatar
2 votes
0 answers
424 views

2.4.1: Elasticsearch/MySQL memory spikes leading to SWAP

Low traffic site on 2.4.1, elasticsearch, 16GB RAM, but memory usage seems to climb constantly, with CPU usage spiking, until mysql and elastic are basically running in SWAP. Site was running fine on ...
user avatar
  • 381
2 votes
1 answer
329 views

Can't Reindex Catalog Search: 405 Not Allowed (Magento 2.4)

My Catalog Search needs reindexing, but sudo bin/magento indexer:reindex catalogsearch_fulltext won't work and returns the following: Catalog Search index process unknown error: <html> <head&...
user avatar
2 votes
1 answer
754 views

Magento 2.4 Products are not showing in category - Elastic Search enabled

I have recently installed a Magento 2.4 for a client, configured elastic search and everything worked well until I created a few additional store views (my assumption). Now the products are visible ...
user avatar
  • 21
2 votes
1 answer
2k views

Magento 2.4: Catalog Search index exception: Could not ping search engine: No alive nodes found in your cluster

We have installed Magento 2.4 on our local machine. After installing, we have got the below error when doing the setup:upgrade Could not validate a connection to Elasticsearch. No alive nodes found ...
user avatar
  • 480
2 votes
1 answer
278 views

Cannot search for multiple words with Elasticsearch

Since switching search engine to ElasticSearch 7.9.1 (necessary for Magento 2.4.0) my site has only been able to search the catalog with a single word. When two or more are entered the front end ...
user avatar
2 votes
1 answer
173 views

What is the correct way to change an indice's stemmer on Elasticsearch when using magento

I have a Magento 2 site with product titles and descriptions in Portuguese, that uses Elasticsearch as the catalog search engine. When I search for terms with accents the search results quality is ...
user avatar
2 votes
0 answers
156 views

Magento 2.3 ElasticSearch shows item in dropdown, but not in search

I'm currently working on a Magento 2.3 store. We have a weird issue with ElasticSearch. Most of the time, when i search for an SKU, we get normal results. But sometimes, it shows in the search bar ...
user avatar
  • 500
2 votes
0 answers
91 views

What is the use of esconfig.xml found in the vendor\magento\module-elasticsearch\etc directory?

Does any one having any idea about esconfig.xml file exists in the vendor\magento\module-elasticsearch\etc directory? As per name suggests, it looks like it is related with words configuration with ...
user avatar
  • 1,735
2 votes
0 answers
50 views

Enabling Catalog Search -> Elasticsearc6+ results error in frontend

In Magento 2.3.2 I enabled Elasticsearch6+ in Catalog Search -> Search Engine. It resulted this error in front end: Class Magento\Elasticsearch6\Model\Adapter\FieldMapper\ProductFieldMapper ...
user avatar
  • 1,481
2 votes
0 answers
280 views

magento 2.3.2 with elasticsearch 6.8.2 returns results only present in mysql search_query table

Prerequisites: installing and configuring Elasticsearch 6.8.2 in a magento 2.3.2 installation as per devdocs (reindexing and cache:clean ok) Step to reproduce: inserting a term in magento frontend ...
user avatar
  • 21
2 votes
0 answers
31 views

Magento 2.2.6 Product Pages Not Opening after upgrade

The product detail pages on my site are no longer opening after upgrading from magento 2.2 to 2.2.6 There are no error rather a catalog search results page is loading instead http://mydomain.co.uk/...
user avatar
  • 125
2 votes
0 answers
80 views

Magento 2: CE integrated ElasticSearch 6 - Autocomplete

Magento 2.3 Commerce comes with Elastic Search integration. I want to know, if someone or is it possible to customized the autocomplete feature and be able to search for products and categories like ...
user avatar
  • 21
2 votes
0 answers
394 views

Magento CE 2.2.2 Elastic Search No Products Front End Category / Listing Pages

Magento CE 2.2.2 ElasticSearch 6.4 PHP 7.1 Apache 2.4 Magento CE 2.2.2 Elastic Search No Products Front End Category / Listing Pages We have installed Amasty Layered Navigation Amasty ...
user avatar
  • 125
2 votes
0 answers
202 views

How to override default search result in magento 2

I want to override default Magento search result, as I am not getting idea from which file all data is displayed from which I want to filter the data. Following are the requirements for overriding ...
user avatar
2 votes
0 answers
154 views

Elasticsearch 6.6 with Magento 2.3 and Nginx, need a proxy?

I am installing Elasticsearch 6.6 on my system (Ubuntu 18.04 with Nginx 1.14) and to configure Elasticsearch and Nginx, I find in the official documentation the following section: Configure nginx and ...
user avatar
  • 465
2 votes
2 answers
889 views

Steps Install Elasticsearch 6.6 for Magento 2

I have many problems when installing Elasticsearch on my server. I'm going to put the steps that I followed in case someone can tell me if I'm missing something or not, please, or if I need to install ...
user avatar
  • 465
2 votes
0 answers
539 views

Magento 2.3 : How to use Elastic search?

As we all know that since Magento 2.3 CE released It supports Elastic Search without using any 3rd party vendor. How Can I configure it ? Note : I don't want to use other vendors for now.
user avatar
  • 3,664
2 votes
0 answers
559 views

how to configuration of elastic search in magento 2.3 beta?

I have to install elastic search and set configuration from Magento admin but still got the error when I run the command {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"wrong ...
user avatar
2 votes
0 answers
177 views

Configure Magento to use Elasticsearch for Magento ver. 2.2.4 Open Source

I am trying to implement Elasticsearch to my Magento ver. 2.2.4 Open Source web store. I followed this guide step by step until I hit a snag where "Elasticsearch" is not available in the admin ...
user avatar
  • 2,749
2 votes
0 answers
460 views

Elasticsearch not returning all matched products

I have enabled Elasticsearch for my store in Magento 2.2.4. When searching for a particular product with Elasticsearch enabled, 20 products are returned. When I turn off Elasticsearch and switch back ...
user avatar
2 votes
0 answers
158 views

Elasticsuit. How to search products by tags?

Is it possible to search products by tags (assigned to product) using Elasticsuit for Magento 2. If not, how can implement this feature?
user avatar
1 vote
0 answers
33 views
+50

Magent 2.4.0 Elastic Search error: query_shard_exception? search_phase_execution_exception? illegal_argument_exception?

We encounter an issue on Magento 2.4.0. Products don't show up in the frontend in the categories. The product is visible on its own url key though. I connected to Elastic Search to check the contents ...
user avatar
  • 1,279
1 vote
1 answer
17 views

How to install two elasticsearch version to support two different Magento version?

I have two Magento 2 projects with different versions. One Magento version support Elasticsearch 7+ and another supports ElasticSearch 6+. I have installed ES7 which is working fine. How can I install ...
user avatar
1 vote
0 answers
48 views

High System Load Elasticsearch - Magento 2.4.3-p1

We are running Magento 2.4.3-p1 with Elasticsearch (ElasticSuite provided from the theme vendor) Elasticsearch is using most of the system resources and making the website extremely slow. curl -XGET '...
user avatar
1 vote
0 answers
49 views

Adobe Live Search Installation/Config problems

I know this question is super generic, but is anyone else having just a helluva time getting Adobe Live Search installed, configured and enabled?!? I've been trying (apparently unsuccessfully) ...
user avatar
  • 111
1 vote
0 answers
40 views

How to filter product using tier price in Magent 2.4.x

I am using Magento v2.4.3, Elasticsearch 7.13.1 with Graphql. I want to apply a price filter on tier price value. As price coming as per customer group and default filter getting applied on price ...
user avatar
1 vote
0 answers
137 views

Magento 2 - list products out of stock at the end with ELASTIC SEARCH

I need to show out of stock products on at the end of listings using ElasticSearch on Magento 2.4.*. I was able to order without ElasticSearch, but once I enable ElasticSearch it won't work. It feels ...
user avatar
1 vote
0 answers
47 views

Magento2 PLP / SLP - Custom Sort Option doesn't work with ElasticSearch

I am facing one issue in my Magento 2.4.0 Commerce project. Please let me know if anyone has faced this before and you have any solution. It is coming when I try to add a non-product attribute or ...
user avatar
  • 2,356
1 vote
0 answers
35 views

How does product count on layered navigation in Magento 2.4 is being rendered?

i'm using magento 2.4.1 and successfully overriding the product collection for layered navigation by overriding the getProductCollection method. The problem is the layered navigation sidebar showing ...
user avatar
  • 177
1 vote
0 answers
352 views

Magento 2.3.3 + elasticsearch 6 - empty catalog. Elasticsearch adds WHERE (NULL) to product collection

I have elasticsearch 6.8 and M2.3.3. On the both category and search pages Magento display: We can't find products matching the selection. (MYSQL engine works correctly) Reindex and cache are ...
user avatar
  • 1,079
1 vote
1 answer
171 views

Poor Site Performance after Upgrade from 2.4.1 to 2.4.2

After upgrading from Magento 2.4.1 to 2.4.2 on Feb 25th our install has been experiencing very poor performance. The 2.4.1 install ran flawlessly with an uptime of in excess of 80 days, now symptoms ...
user avatar

1
2 3 4 5