Skip to main content

Questions tagged [elasticsearch]

Denotes questions regarding Elasticsearch

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 views

Magento 2.4.6 Elasticsearch not working and upgrade command use that phase issue

Could not validate a connection to Elasticsearch. Unknown 401 error from Elasticsearch null curl -X GET 'http://localhost:9200' {"error":{"root_cause":[{"type":"...
Ravindrasinh Zala's user avatar
0 votes
0 answers
21 views

Search results empty after patch to 2.4.5-p9

Patched a site from 2.4.5-p8 to p9 last week. Now the search is not returning any results. The search box uses MagePlaza Advanced Search which shows results in a dropdown and that works, but the ...
rodolphesalis's user avatar
0 votes
1 answer
26 views

How to configure elasticsearch on aws instance?

I'm trying to configure Elasticsearch on the AWS server. I only have SSH access and have installed Elasticsearch manually by CLI. now I have to configure Elasticsearch on the Magento admin side but it ...
Afzal Arshad's user avatar
0 votes
0 answers
16 views

Catalog search - Elasticsearch

How can I optimize searches on the page using Elasticsuite, without increasing this limit in the config Catalog - Catalog Search - Minimal Query Length. It is currently set to 10, and if it is low, it ...
cristiand's user avatar
0 votes
0 answers
25 views

Elastic Search redirects to configurable product

After i enter a term in search bar, for some search strings, it redirects to configurable product page. The search page loads for a few seconds and is immediately redirected to configurable product ...
Hsa's user avatar
  • 1
0 votes
1 answer
162 views

Installing Magento via docker getting with Elasticsearch

I am trying to run Magneto 2.4.3(php 7.4). Here is my docker-compose.yml file. services: web: image: webdevops/php-apache-dev:7.4 container_name: magento2-web volumes: - .:/...
Prashant's user avatar
0 votes
0 answers
160 views

Magento 2.4.7 ElasticSearch issue: Cannot search on field since it is not indexed

After upgrading from 2.3.7 to 2.4.6, using ES7, Now I have the ElasticSearch exceptions given belo: main.CRITICAL: Elasticsearch\Common\Exceptions\BadRequest400Exception: {"error":{"...
skiplecariboo's user avatar
0 votes
3 answers
157 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
30 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
  • 676
0 votes
1 answer
301 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
20 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
  • 712
1 vote
1 answer
212 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
  • 49
-1 votes
1 answer
49 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
26 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
60 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
  • 503
0 votes
0 answers
18 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
85 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
  • 503
0 votes
0 answers
37 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
60 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
  • 43
0 votes
2 answers
145 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
2k 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 ...
user avatar
0 votes
0 answers
17 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
83 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
70 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
2 answers
320 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,469
0 votes
3 answers
434 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
34 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
101 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
278 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
130 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
114 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
453 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
220 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
119 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
836 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
80 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
15 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
631 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,236
4 votes
0 answers
337 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
902 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
224 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
1k 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
  • 341
0 votes
2 answers
697 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
30 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
456 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
  • 280
0 votes
2 answers
445 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
260 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
11k 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
2 3 4 5
9