Questions tagged [elasticsearch]

Denotes questions regarding Elasticsearch

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

About elastcisearch memory Xms and Xmx fort Magento 2.4

Can anyone recomend the values for Xmx and Xms, as I have found diferent information in internet about the recomended giga rams. Most time I find that it should be 32gb, So i have this in my jvm....
Francisco Muniz's user avatar
0 votes
1 answer
39 views

Magento 2 Cart Price Rule is not working

This is the first time I created a sales rule on the site, but it doesn't work. I want the shipping cost for a product to be free. I have done the following: Create the price rule in Marketing -> ...
Diego Castro's user avatar
0 votes
0 answers
28 views

Magento2 catalog search results append some additional product ids

I have a requirement to apply some custom logic in catalog search results and retrieve some additional products in search results if i search for certain text in a global search. I have used ...
bhargav shastri's user avatar
1 vote
1 answer
58 views

Magento not showing products in category list page due to elastic search issue

I am getting that exception when view category in front end , I did re index also. [2023-11-09T05:26:45.393702+00:00] report.CRITICAL: Elasticsearch\Common\Exceptions\ServerErrorResponseException: {&...
Ansar Husain's user avatar
  • 3,399
0 votes
3 answers
61 views

issues when installing magento 2.4.6 on WSL2 ubuntu 22.04

Ok, let's move on. I am new to this and I am trying to install magento 2.4.6 on a local WSL server with Ubuntu 22.04, I have apache2, php8.1 and 8.2, composer, mysql and elasticsearch 8 installed. I ...
ramses adames's user avatar
0 votes
0 answers
28 views

How to get unique result in ElasticSearch Result?

I am trying to get elastic search unique results but it does not work for me. I have tried using 'terms aggregation' as below. $searchQuery['body']['aggregations']['my_field'] = ['terms' => ['field'...
Jitendra Hengada's user avatar
0 votes
2 answers
56 views

Error indexing catalogsearch_fulltext

I'm using the latest version of Magento2 (2.4.6p3) and Elasticsearch (7.17.14). I don't know really why but I can't index catalogsearch_fulltext anymore. I set ES as debug and the log shows this error:...
nlegall's user avatar
  • 21
1 vote
0 answers
85 views

Magento 2: How to Achieve Partial Match Search for SKU and Other Attributes?

I'm encountering a challenge with the search functionality in Magento 2 and could use your expertise. Specifically, the issue revolves around partial match searches, especially concerning the SKU ...
qɐʇǝɥɐW's user avatar
1 vote
0 answers
41 views

Magento 2 Elasticsearch index failing - We can't find products matching the selection

I have an issue with products disappearing on my Magento stores, it happens randomly and reindexing will sort the issue but restarting the docker image wont. The only error I can see is {main} {"...
miller75's user avatar
  • 409
0 votes
0 answers
45 views

Magento2 ElasticSearch product attribute weight based on value

If there is a way to set product attribute weight depending on it's value? F.e. we have 2 attributes to search: name(weight=10) and description(weight=1) So in search results we'll have first results ...
Alexey Uvarov's user avatar
0 votes
3 answers
254 views

Rejecting mapping update to [magento2_product_1_v2] as the final mapping would have more than 1 type

I've recently upgraded my Magento 2 store from version 2.4.1 to 2.4.3. However, I'm encountering issues when running the catalog search, And I'm receiving the following error message: main.CRITICAL: {...
Zeck's user avatar
  • 3
0 votes
1 answer
45 views

Magento keeps creating multiple indexes in Elasticsearch

I have a couple Magento stores, and have them hooked up to an Elasticsearch server. On just one of the stores, it seems to regularly create new index names every day, which leads to overage issues ...
blueionRich's user avatar
0 votes
2 answers
65 views

size parameter cannot be negative

I have problem with elasticsearch on catalog category pages. For some reasons on some pages i have this error: Elasticsearch\Common\Exceptions\BadRequest400Exception: {"error":{"...
gandrap's user avatar
0 votes
1 answer
117 views

Cant select default search engine in backend

Unfortunately I cant untick the default search engine in magento2 backend (vers. 2.4.6-p2) I think the prio of these checkboxes are app/etc/env.php > core_config_data I have configured my ...
y.y's user avatar
  • 103
0 votes
2 answers
36 views

Could not validate a connection to Elasticsearch. Unknown 504 error from Elasticsearch null

Im trying to install magento 2.4.6 version in windows system. Installed elastic search 7.17 version and commandline used is below php bin/magento setup:install --base-url=http://localhost:8082/magento ...
amazer's user avatar
  • 1
0 votes
0 answers
14 views

What is difference between search in Magento2 community Vs enterprise

What is the difference between search in the Magento2 community Vs enterprise?
Manish Goswami's user avatar
0 votes
1 answer
259 views

How to load a custom product collection in frontend using smile elasticsuite

Everything is in the question i need to load a custom product collection in frontend using smile elasticsuite. But i can't figure out how to do it. Do you guys have a working example ? "smile/...
Claims's user avatar
  • 1,049
4 votes
0 answers
103 views

How to group by elasticsearch results/Remove duplicate items from Elasticsearch results

I need to customize my elasticsearch query based on a custom attribute. I have a product attribute with code product_code, I have added this attribute to search and in elasticsearch results, the value ...
Jaimin Sutariya's user avatar
0 votes
0 answers
25 views

Elasticsearch Installation for magento 2.4.0 on centos 7

I am trying to install magento 2.4.0,but I am stuck at the point of installing and starting elasticsearch. It always says "Job for elasticsearch.service failed because the control process exited ...
Tunex's user avatar
  • 1
0 votes
0 answers
468 views

Magento2 Warning: foreach() argument must be of type array|object,

I am getting following error but not sure how to debug. Please guide. Warning: foreach() argument must be of type array|object, null given in app/code/XYZ/ElasticSmile/Model/Product/Indexer/Fulltext/...
Arjun's user avatar
  • 3,556
0 votes
2 answers
27 views

magento 2 connection elastic server takes times to connect

Is anyone know why sometime elastic server takes time to connect Here is the screenshot from New relic report This screenshot report generated when customer visiting product listing pages. Is this ...
Niraj Patel's user avatar
0 votes
1 answer
94 views

Magento 2.4 exclude categories in the catalog product search

I have to exclude some categories from the product search, I have tried many ways but I can't exclude specific categories, I know that a product can be set not to appear in the search result, but I ...
GStiven's user avatar
  • 31
1 vote
2 answers
354 views

Magento 2.4.6 - Getting Error Could not validate a connection to OpenSearch. No alive nodes found in your cluster

I am getting below error while installing Magento 2.4.6 using command line. Could not validate a connection to OpenSearch. No alive nodes found in your cluster I have run below two commands ...
Rejith's user avatar
  • 191
0 votes
2 answers
363 views

Is Elastic Search still require after move to Open Search

I have a project and we want to use OpenSearch for upgrade version 2.4.6 then we still need to use Elastic search. The question is coming here because Magento also uses Elastic for the category page ...
Amit Bera's user avatar
  • 77.2k
0 votes
0 answers
8 views

How to make my custom module add pages to the site search?

My custom Magento 2 module has pages like: /mymodule/page/page/testpage And some text on that page. I want to add to Magento's site search index so if I search for "testpage" for example, it ...
Nick's user avatar
  • 121
0 votes
0 answers
93 views

Magento 2.4.4 - Elasticsearch sku autocomplete stop after 3 symbols

We are using ElasticSearch 7. STEP #1 : we type the first 3 characters of a SKU in the search engine, we get many product suggestions STEP #2 :we type 4 characters of a SKU in the search engine it ...
elvis75's user avatar
3 votes
0 answers
27 views

Magento 2 search customization

i want to implement search as below image 1st text box will get the result based on product name and SKU and 2nd text box will get the result based on CAS number(custom attribute) any help will be ...
Ronak's user avatar
  • 456
0 votes
0 answers
15 views

Magento2: After installing elastic search ik, but not showing the right search result

Magento2: After installing elastic search ik, but not showing the right search result. so it containes two analyzer that ik_max_word and ik_smart from ik. How can I config or change in magento? Any ...
Allen's user avatar
  • 19
0 votes
0 answers
22 views

Product in Catalogue position not working on frontend with Elasticsearch

Using Magento 2.4.6, PHP 8.2, Nginx and Elasticsearch 7 Issue is I am unable to sort the products by position. I see that the position is saved on my backend (Store->Catalogue->Products in ...
Henri's user avatar
  • 113
3 votes
3 answers
293 views

Category products do not load - 'We can't find products matching the selection.' Error keeps coming up at least once a day. Elastic search is running

Magento ver. 2.4.2-p1 Amasty extensions We used to have Elastic Search crash every once in a while but this is no longer happening since we upgraded to the most powerful server. We had instances ...
Allysin's user avatar
  • 178
0 votes
2 answers
225 views

Searching for product with dash doesn't work in Magento 2

I am working on Magento 2.4.5. I have a product named 'T-24'. When I search with this name expected product does not appear after the search. But When I search for any product without '-' in it like '...
mrshiam's user avatar
  • 15
0 votes
0 answers
148 views

Magento 2.4.5 on local Xampp - Elasticsearch issue

So I'm trying to install Magento 2.4.5-p1 on my local Windows 10 machine using xampp. I have installed elasticsearch and it runs fine when testing using the http://localhost:9200/ But when I come to ...
Andy's user avatar
  • 1
2 votes
1 answer
5k views

Magento 2.4.6 Install with Elasticsearch

I am trying to install Magento 2.4.6 with elastic search, I am using the following --search-engine elasticsearch8 \ --elasticsearch-port 9232 \ --elasticsearch-index-prefix "test" \ but I ...
miller75's user avatar
  • 409
1 vote
0 answers
357 views

Could not ping search engine: No alive nodes found in your cluster when node exists

I am having an issue where, when I try to reindex my site, I receive the following error: Catalog Search index process error during indexation process: Could not ping search engine: No alive nodes ...
Eric Brown's user avatar
0 votes
0 answers
21 views

Elasticsearch issue with 5k Products

Currently, We have 5k Products on our store and we will upload more products on our store. I have just upgraded to 8g Ram 80g SSD 4 vCPUs from 4g ram and others same. Elasticsearch was getting killed ...
Amiyo Ghosh's user avatar
0 votes
0 answers
125 views

Using Elastic search for PWA and Live search for frontend

We have an adobe commerce configuration where we have both PWA setup and the usual storefront view setup. I wanted to know if it's possible to use Elastic search on PWA and Live Search on the normal ...
Hossein hossein's user avatar
0 votes
0 answers
99 views

Sort by price (with prices per customer groups applied) logic in Magento 2.4.5

Where I can find sort by price logic? I checked elastic search and the price is stored in the format: e.g. "price_1_1:10, price_2_1:15" Where the first number after price" is ...
Sebas's user avatar
  • 27
8 votes
2 answers
486 views

Magenot 2.4.5 - Custom sorting not working with elasticsearch

I need "Price Low to High" and "Price High to Low" sorting. For this I have followed some guides which are referring to override Magento\Catalog\Block\Product\ProductList\Toolbar ...
Shoaib Munir's user avatar
  • 9,344
0 votes
2 answers
525 views

Magento 2 - Get name or alias of indice ElasticSearch Product and Category

Is there a way to know what is the name or alias of the index created in elastic search in a custom module? For example when i execute command line bin/magento indexer:reindex Magento change the names ...
Diego Castro's user avatar
0 votes
1 answer
235 views

Elasticsearch indexing problem after upgrading to 2.4.4-p1

after upgrading Magento C.E to version 2.4.4-P1 I found out that I keep getting this error message when I reindex catalog search: Catalog Search index process error during indexation process: 429 Too ...
lazy_coder's user avatar
1 vote
3 answers
8k views

How to setup OpenSearch in Magento 2 instead of Elasticsearch

I want to use OpenSearch instead of ElasticSearch in Magento 2 I didn't find anything to configure the OS configuration.
Arun Sharma's user avatar
  • 1,215
0 votes
2 answers
602 views

How turn off Elastic search on Magento 2.4.5

I try to turn off Elasticsearch to use Algolia Search as the default search engine. I try this command line: bin/magento module:disable {Magento_Elasticsearch,Magento_InventoryElasticsearch,...
David Duong's user avatar
0 votes
4 answers
285 views

What is the best way to setup existing magento project with apple M2 chip?

I have tried to install it using markshust/docker-magento but it gives errors in elasticsearch as elasticsearch is now deprecated in M2 chips and I am not sure how to configure magento2 with ...
Ruhani's user avatar
  • 572
0 votes
0 answers
274 views

Setup Elasticsearch in Plesk (Nginx + Apache)

I have been trying to configure Elasticsearch in the Magento installation for a few days but I can't get it to work completely, I see it close but there is always something that fails. I installed ...
Shugui's user avatar
  • 1
0 votes
2 answers
35 views

After Magento 2 Upgagrade products won't show in category's pages

I upgraded Magento from 2.4.2 to 2.4.5 but i didn't upgrade ElasticSearch (it's on 7.9), now products are not showing in category's pages. Is ElasticSearch the cause? I checked the logs and there's no ...
tarek fellah's user avatar
0 votes
0 answers
68 views

How to fix error: WE CAN'T FIND PRODUCTS MATCHING THE SELECTION

I upgraded from Magento 2.3.4 to 2.4.3-p3. But I cannot see products and categories. here is composer.json { "name": "magento/project-community-edition", "description": &...
Bohdan V.'s user avatar
1 vote
0 answers
57 views

Custom filter search problem

I am trying to add custom filter to layer navigation. Basically I didn't have any problem with displaying it on navigation sidebar but collection filtering is now the problem. I have filter which is ...
Milos Stambolija's user avatar
0 votes
2 answers
750 views

Adding filter attribute to search query?

Magento 2.4 Is there a way to add an attribute to the search query every time a search is triggered? Example searching for "test": https://www.example.com/catalogsearch/result/?q=test I want ...
user4095519's user avatar
0 votes
1 answer
876 views

Can not start Elasticsearch 7.9.1, how to solve this problem?

Job for elasticsearch.service failed because the control process exited with error code. See "systemctl status elasticsearch.service" and "journalctl -xe" for details. [root@server ...
Rex Penney's user avatar
0 votes
2 answers
1k views

Elasticsearch BadRequest400Exception Error : main.CRITICAL: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason"

I have a problem I am using Magento 4.2.4 and Elasticsearch 6 and this message appears can anyone help me to solve it. main.CRITICAL: {"error":{"root_cause":[{"type":&...
Ayman Elgohary 's user avatar

1
2 3 4 5
9