Skip to main content

Questions tagged [elasticsearch]

Denotes questions regarding Elasticsearch

Filter by
Sorted by
Tagged with
0 votes
2 answers
28 views

Magento2 & Elasticsearch 8.13.4 install: Could not validate a connection to Elasticsearch. Unknown 401 error from Elasticsearch null

Installing locally using php bin/magento setup:install --base-url=http://127.0.0.1/magento2/ --db-host=localhost --db-name=magento2 --admin-firstname=admin --admin-lastname=admin --admin-email=user@...
Teresa's user avatar
  • 101
0 votes
0 answers
25 views

Facing reindexing elastic search issue

When we run indexing command in the root Magento folder it gives us this error : Indexer handler is not available: elasticsearch7 When we run the setup:upgrade command: Could not validate a connection ...
Rana Zain's user avatar
  • 658
0 votes
1 answer
67 views

M 2.4.7 - Opensearch 2.13 vs. Elasticsearch 8.5

What should be chosen for a Magento 2.4.7 store with 25,000 visual SKUs? Should we go for Opensearch 2.13 or Elasticsearch 8.5? Which one will give us the best performance? As far as we can see, There ...
Jesper Brejning's user avatar
0 votes
0 answers
12 views

Ignore Bundle Product Child attributes in Layered Navigation

We have a part compatibility attribute on our website. We use it to let customers filter to only see parts that would be compatible for them. The problem comes with Bundle products. We have the ...
Typhado's user avatar
  • 702
1 vote
1 answer
125 views

Elasticsearch error after upgrading to 2.4.6-p3

I just upgrade to magento 2.4.6-p3 from 2.4.1 version, when i see the exception.log files, there are a lot of error stating this: main.CRITICAL: Elasticsearch\Common\Exceptions\BadRequest400Exception: ...
jojo's user avatar
  • 39
-1 votes
1 answer
40 views

i am trying to create a product on magento to but it will throw me an error

this error occur because of issue with Elasticsearch and many times i am changed the Elasticsearch configuration and re-install but after many try it give me same error
RAJDIP JALONDHARA's user avatar
0 votes
0 answers
18 views

Get product attributes values for out of stock products in elastic search without changing 'display out of stock' configuration setting to yes

So I want to get product's attribute value to work on if it is set to yes but product is out of stock so it is not shown on the frontend. One solution is to change 'display out of stock' configuration ...
Raj Pawan Shukla's user avatar
0 votes
0 answers
45 views

Magento2 | Use category attributes for searching (Elasticsuite)

On my Magento2 site, I installed the elasticsuite plugin that leverages the elasticsearch search engine. I have seen that elasticsuite uses attributes such as "name", "url_path", &...
Jackom's user avatar
  • 493
0 votes
0 answers
9 views

Starting Elasticsearch in Linux Shared hosting - Hostgator for Magento 2.4.6

I have upgraded my magento version to Magento 2.4.6. I have tried installing elasticsearch 7 and elasticsearch 8 in my linux shared hosting in Hostagor. I am ending in error of could not allocate ...
guruprasad's user avatar
0 votes
1 answer
39 views

Magento2 | Category links are incorrect in search autocomplete

My site is with Magento 2.4.4 multilingual and I use the ElasticSuite search module. Every time I go to edit a category for each store view and try to search for that edited category in the ...
Jackom's user avatar
  • 493
0 votes
0 answers
29 views

Magento 2: Product Removed from Elasticsearch After Indexing Customizable Options

I'm facing a peculiar issue with my Magento 2.3.6 application where products with customizable options are being removed from Elasticsearch after indexing. I've tried various customizable option types ...
Ashraf Hefny's user avatar
0 votes
0 answers
39 views

How to add custom settings to Elasticsearch index from Magento 2.4.6

Need to add custom analyzer to Magento product index settings in Elasticsearch, but how to make this setting permanent? If I modify settings directly in Elasticsearch, Magento overwrites it with the ...
player's user avatar
  • 33
0 votes
2 answers
78 views

Can't create product with stock

I'm trying to create a product with stock (quantity), so I can do an example purchase. But whenever I try to create a product, I get the following error: "The stock item was unable to be saved. ...
Agustín Escobar's user avatar
2 votes
3 answers
1k views

complex type 'mixedDataType': The content model is not determinist. magento 2.4.5

I have an issue on a Magento 2.4.5. I got below error. 1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationSchemaException): Processed schema file: /home/public_html/vendor/magento/...
kiran's user avatar
  • 597
2 votes
1 answer
2k views

complex type 'mixedDataType': The content model is not determinist

I have an issue on a Magento 2.4.4-p1 instance that appeared during the night somehow. The indexation process for inventory is not working anymore, as well as the category page which is not loading ...
str's user avatar
  • 53
0 votes
0 answers
14 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
75 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
46 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
231 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,429
0 votes
3 answers
332 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
33 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
81 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
  • 23
1 vote
0 answers
233 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
118 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
96 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
394 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
141 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
89 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
641 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 ...
kekw's user avatar
  • 103
0 votes
2 answers
61 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
525 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,191
4 votes
0 answers
301 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
40 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
807 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,586
0 votes
2 answers
34 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
211 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
  • 41
1 vote
2 answers
886 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
  • 331
0 votes
2 answers
608 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.6k
3 votes
0 answers
28 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
  • 476
3 votes
3 answers
368 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
  • 260
0 votes
2 answers
365 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
237 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
9k 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
591 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
8 votes
2 answers
558 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,482
0 votes
2 answers
817 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
336 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
13k 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,325
0 votes
2 answers
904 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

1
2 3 4 5
9