Questions tagged [elasticsearch]

Denotes questions regarding Elasticsearch

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

Require Elasticsearch query to count certain products in categories

We would like to get an Elasticsearch Query (curl-format or similar) to supply either a listing of or a number of (count(*)) for the following Specified Store (where store ID = X ) AND Specified ...
0
votes
0answers
8 views

Magento 2 installation error [--search-engine]

I am installing magento 2.3.4-P2 in a docker container and I am getting this error "The --search-engine option does not exist" when executing the installation command with elasticsearch ...
0
votes
0answers
23 views

Magento 2.4: Custom indexer not working

On running sudo php bin/magento indexer:reindex vsbridge_banners_promotion_indexer it show's error configuration was not found. Elastic search version 7.16.2 and vue store configuration are done from ...
0
votes
3answers
25 views

Could not validate a connection to Elasticsearch

when running some command in magento 2.4.3 such as "setup: upgrade" an error is generated in elasticsearch how can I solve this? I'll put pictures below.
0
votes
1answer
21 views

URI is not valid and cannot be converted into a string when trying to load website

Preconditions (*) PHP 7.4.27 composer 2.1.4 Magento version 2.4.2-p2 enterprise Elasticsearch 7.16.2 Redis Cache 5.0.14 Grunt 1.0.4 Steps to reproduce (*) Install a fresh installation of Magento ...
0
votes
2answers
30 views

Unable to get cronjob working with Magento 2.4.3-p1

So I've been having this issue for the past week now, I've tried to self-diagnose by following instructions online but I can't this to work. I've even installed a new instance but same issues. This is ...
0
votes
1answer
41 views

Is magento2.4.1 supports the elastic search 7.16.1 version

Is magento2.4.1 supports the elastic search 7.16.1 version. please update it Thanks
3
votes
0answers
47 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 ...
0
votes
1answer
40 views

How to use custom product attribute in sorting option with search criteria builder for magento 2?

I have created one custom product attribute(bestseller). Now I want to sort by custom product attribute(bestseller) using search criteria builder sort by option but it's not working for custom product ...
1
vote
1answer
188 views

How to know if my ElasticSearch is vulnerable against Log4j?

I don't have Java installed in my main Docker, but I'm using ElasticSearch v6.8.3 in another instance. curl -XGET 'http://localhost:9200' Am I vulnerable against Log4j even not running ElasticSearch ...
1
vote
2answers
448 views

How to check Log4j in Magento installation?

I don't know if my Magento server is infected by Log4j, how could I check it?
1
vote
1answer
2k views

Log4j CVE-2021-44228 Magento 2.3 / 2.4 with ElasticSearch

Has someone checked if a Magento 2.3/2.4 installation with ElasticSearch is vulnerable to the Log4j exploit CVE-2021-44228? I've checked for the relevant .jar files in the ElasticSearch Apache CVE-...
0
votes
0answers
17 views

magento 2 smile elasticsuite Rest API

I want to use smile-elastic search REST API for product search with name I have used this extension https://github.com/Smile-SA/elasticsuite
0
votes
0answers
18 views

When we search for a product through the search bar, it is not showing any search results

When we search for a product through the search bar, it is not showing any search results. Upon checking for the issue we have seen the following error : "caused_by":{"type":"...
1
vote
4answers
52 views

System was slow when Elasticsearch is enable

I have installed Magento 2.4.3, in Ubuntu 18.04.6 LTS, my system configuration is RAM 8 GB, HDD 500 GB, but whenever I enable Elasticsearch, and run Magento on the browser, the system was slow and ...
0
votes
1answer
31 views

Product is not showing when I enter SKU in the URL bar (www.mysite.com/sku)

I have enabled the Amasty_ElasticSearch module, when I put SKU in the site URL, It shows an error 404 message. Like this : (www.mysite.com/sku). But I have another Site where It brings me the product ...
0
votes
0answers
23 views

How to connect magento2 to Elasticsearch in different server

I have done setup magento 2.4.2 in cloud/shared hosting, and then i have Elasticsearch in VPS with config .yml like this : transport.host: localhost transport.tcp.port: 9300 http.port: 9200 network....
0
votes
1answer
52 views

Is it possible to run Elasticsearch and Magento 2 on different server?

I have a question and still considering it now. I have Magento 2.4.2 running on cloud hosting but in the way I found an issue with installing ES. cause ES not support install on shared/cloud hosting. ...
4
votes
1answer
104 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\...
1
vote
2answers
83 views

Elasticsearch Regular Search Returns No Results

I've recently upgraded my Magento to 2.4 which necessitates the use of Elasticsearch. Using the search function always shows the message "Your search returned no results". However using &...
0
votes
2answers
72 views

Upgrading from Magento version from 2.3.6 to 2.4.3 getting Elastic Search error

I'm trying to upgrade my Magento version from 2.3.6 to 2.4.3 and when I start I get this error: Problem 1 - Can only install one of: elasticsearch/elasticsearch[7.11.x-dev, 6.x-dev]. - Can only ...
0
votes
1answer
97 views

Magento 2.4 "Bad Request 400 Exception" when using Elasticsearch

I've recently upgraded my Magento version 2.4 and set Elasticsearch as the catalog search option, testing the connection gives a success message but when I try to search on the site itself I get an ...
0
votes
0answers
28 views

Sorting products in the catalog by filter

I create a module that displays additional filters and does sorting for them: app/code/VendorName/ModuleName/Plugin/Model/Config.php <?php /* * Copyright © 2019 Zekinah Lecaros. All rights ...
0
votes
0answers
27 views

Advanced search and elastic search

Magento2 site was added elastic search, in Advanced search page: now I try to find a product (product name) by entering the first 3 letters - it does not work when I enter - "for", but it ...
0
votes
3answers
63 views

How do I install the latest Magento 2 via composer with sample data and Elasticsearch?

Using Debian 10, I installed PHP 7.4, PHP-FPM 7.4, Mysql 8, NGINX, Elasticsearch, Magento2 via composer, Redis-Server, varnish, Changed the ownership of all files to a user, and run NGINX using this ...
0
votes
2answers
37 views

products not displayed in some categories after upgrade from Magento 2.3.X to 2.4.3

We upgraded a website to Magento 2.4.3 from 2.3.X 2.3.X haven't used Elastic Search, so we added it for 2.4.3 After the upgrade, we noticed a really weird issue: products in some categories (not all) ...
0
votes
0answers
34 views

How to add more parameters to Magento2 ajax search suggestion request?

I want to modify the search request (search/ajax/suggest/?q) parameters to include the below: "query": { "multi_match": { "query": "rad", &...
0
votes
1answer
58 views

Upgrading from 2.3.5-p1 to 2.4.3-p1 install issue

When I try to run the composer update. I get this error. elasticsearch/elasticsearch v7.11.0 requires ext-json >=1.3.7 -> the requested PHP extension json has the wrong version (7.4.24) ...
0
votes
1answer
31 views

Catalog Search Index failed and products list doesn't work

Last Friday, I installed a new module (ERP embedded). Since this installation, the products list is empty on frontend. I'm using Magento 2.4.2 on apache2/php 7.4.24. I try to reindex but I have an ...
0
votes
1answer
42 views

Magento2 Elastichsearch showing all products, ignoring pagination & sorting

I installed a fresh copy of Magento 2.3.4-p1 with the latest Elasticsearch. I imported products from a 2.3 application and all of the products show on every page, even the search. Pagination is ...
0
votes
0answers
16 views

How to change Elastic Search's "OR" search logic to "AND" in Magento version 2.4.2+

Is it possible to change the default customization of "OR" to "AND" in Elastic Search version 7.9? If so, where? If I for example search for 'proteus fitness' it shows products ...
2
votes
4answers
682 views

Magento 2.4.3 : Type Error occurred when creating object: Magento\Search\Model\EngineResolver

I am getting this error on a page 1 exception(s): Exception #0 (Magento\Framework\Exception\RuntimeException): Type Error occurred when creating object: Magento\Search\Model\EngineResolver, Argument ...
0
votes
0answers
18 views

Magento 2 Mirasvit Search doesn't return any results

I have Magento 2.4.1 and the latest version: 2.0.39 of the mirasvit/module-search-ultimate module. Also I am using Elasticsearch 7. Issue description: The ajax request made on the search result: ...
0
votes
0answers
19 views

Newest Sorting is not working Magento2.4 with elastic search

New Product first in category listing page does not work in Magento2.4 with elastic search.
0
votes
0answers
54 views

How can you get a list of all skus (or product ids) that are in ElasticSearch?

I've got a site with a huge inventory, and need a way to verify that the ElasticSearch index has all of the products in it. Does anyone know an ElasticSearch query I could use to get all of the skus ...
0
votes
1answer
37 views

How do I get around elasticsearch requirement for shared web hosting plans

is elasticsearch required for magento newest versions to work. I am having a hard time finding the answer and hosting sites do not support it for shared plans. I am trying to do an eCommerce store so ...
0
votes
1answer
83 views

Elastic Search stops automatically in Server

Home page, Product detail pages are working on My store. But Product catalog page is not working. Getting message "Out of Memory : Killed Process" message on Server Console root@lamp-ubuntu-...
0
votes
0answers
37 views

how to add custom attribute in elastic in magento 2.3

i need to add a custom attribute in elastic search only,not in magento database. is there any way to add this. we have used Mirasvit elastic extension. please let me know, its urgent. Thanks in ...
0
votes
0answers
41 views

Elasticsearch results order is changing on the frontend

I'm working with magento 2.4.2 and elasticsearch 7.10.2 What I'm seeing is that even though the results in elasticsearch are ordered correctly in the backend, on the frontend are wrongly displayed. ...
0
votes
0answers
109 views

Product Search retuns error

Hi all while searching product in magento 2.4.1 am getting below error my elastic search version is 7.12.1 can any one suggest what is the exact issue here. 1 exception(s): Exception #0 (...
0
votes
0answers
192 views

Magento 2.4: Add Sort by Quantity (not stock status) on Category Page

I'm working on Magento 2.4.2 with Elasticsearch 7.6. I've tried to add a sorting option on the category page which will sort the products on the basis of quantity added in the product. I've checked ...
0
votes
1answer
33 views

Getting Ready for 2.4

I'm starting to look at Magento 2.4, and the first thing I ran across is that it doesn't look like I can use a shared server. The hosting company has a VPS plan, which looks like it would work, but I ...
0
votes
1answer
26 views

Namespace [suggest] not found in ElasticSearch?

Magento 2.4.2 In the exception.log I see this error: Namespace [suggest] not found {"exception":"[object] (Elasticsearch\\Common\\Exceptions\\BadMethodCallException(code: 0) What ...
1
vote
1answer
71 views

Catalog Search index error After updating Magento 2.4.0 to 2.4.2

When I run php bin/magento indexer:reindex I get the following error message from the Catalog Search indexer: {"error":{"root_cause":[{"type":"...
0
votes
0answers
31 views

Custom sorting option with Elastic search (Highest Discount Percentage)

I need to add Highest discount percentage sorting option in magento 2.4.2. I have implemented with this code but it is not working with elastic-search $collection->getSelect()->columns(['...
0
votes
0answers
12 views

Product search return results with score value as null

Rest Product Search using, V1/search endpoint with 'quick_search_container' searchCriteria always resurn product with null score value. Any idea? Sample Request /V1/search?searchCriteria[requestName]=...
0
votes
4answers
247 views

ElasticSearch connection to Magento 2.4.2

I'm new to Magento2.4 and Elasticsearch. I'm having an issue in connecting them in server setup. This works fine in my local(Windows) setup. When I try to setup in the server, it is not working as ...
0
votes
2answers
33 views

Magento Search Not working - Only returns results if I search SKU codes

I have a Magento 2.4.3 installed with Elasticsearch 7.9 They are on separate servers (but I don't believe that is relevant). The reindexing function runs successfully and I can see the index on the ...
0
votes
0answers
55 views

Magento 2.4.2 Elastic search 7 Fulltext search

I am trying to customize the default Magento 2.4.2 Elasticsearch 7. Right now the default Full-text search is not giving that good result. For Example I have product name like Women T shirt, Men T ...
0
votes
1answer
202 views

Magento 2.4.3 not showing products and error to reindex Catalog Search

I just installed an Adobe Commerce 2.4.3 B2B + SampleData, but when I open my catalogue of products in the frontend I don't see products in the list, even seeing products in the backend, I thought it ...

1
2 3 4 5
8