Questions tagged [search]

Denotes questions related to the search engine on Magento.

Filter by
Sorted by
Tagged with
0 votes
1 answer
52 views
+50

How to override default products search

I need to override default graphq products search to allow typos, so that queries like that: { products( search: "test" ) { items { name } } } ...
user avatar
0 votes
0 answers
16 views

Mirasvit Sphinx Search indexing Magefan Blog - Error: Call to a member function setData() on bool

I am using the Mirasvit sphinx search and have configured an index from Magefan Blog posts. I get the following error in search result page regarding the blog posts. <ul class="mst-...
user avatar
0 votes
0 answers
32 views

magento 2.4.3-p2 search result getting We could not find anything for matching the selection

I have elasticsearch 7 and M2.4.3-p2 On the category page to working fine and search pages Magento display: We can't find products matching the selection. (MYSQL engine works correctly) before 2.3.3 ...
user avatar
0 votes
0 answers
21 views

Product search in magento 2 is not working properly

Problem is that when we search Keyword 'T Shirt' then its working fine but when we change keyword like 'Tshirt' then it's not working. Can any one help me on this query.
user avatar
0 votes
0 answers
22 views

Magento ver. 2.4 : There seems to be an issue with the search

There seems to be an issue with the search. When searching some of product, like for example DS-2CD2085FHW search "2085", we get no results even though we should get at least 1 result on it. ...
user avatar
  • 2,172
0 votes
0 answers
10 views

My language dropdown doesn't work when searching with apostrophe in magento 2

Please see the screenshot: First 1:https://i.stack.imgur.com/d1SNR.png Second 2:https://i.stack.imgur.com/MKcci.png
user avatar
0 votes
1 answer
7 views

How to clear search under pages if pasted a big content by mistake?

By mistake, I pasted a big piece of content in the search bar. I'm unable to clear the search. It keeps loading and I get this error. "Magento2 Error: "Something went wrong with processing ...
user avatar
0 votes
0 answers
34 views

Magento 2 : How to show search bar for always in PWA

Now search bar is showing after clicking the search icon. But I want to show the search bar for always, don't need to click the search icon. How can I do that?
user avatar
0 votes
1 answer
107 views

created_at sorting not working in Magenot 2.4 using elasticsearch

I have created a custom sorting using created_at but result is empty. when i checked logs it shows error main.CRITICAL: {"error":{"root_cause": [{"type":"...
user avatar
  • 526
0 votes
0 answers
9 views

Product meta words and search synoynms

I have a product in the fashion category and after searching for products in the beauty and personal products category after searching for the products on the beauty and the personal products the one ...
user avatar
0 votes
1 answer
189 views

How to integrate OpenSearch as a separate CatalogSearch engine to Magento 2.4

Does anyone know how I can setup and integrate OpenSearch engine as a separate Catalog Search engine to Magento 2.4? I have removed all the ElasticSearch dependent modules from the composer.json. From ...
user avatar
  • 1,735
0 votes
1 answer
20 views

Search brings up completely unrelated items

When typing in search terms and the search brings up products unrelated in both name and meta-keywords. This happens only with actual words though, typing in incoherent strings of letters does not ...
user avatar
2 votes
0 answers
144 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
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
0 votes
1 answer
144 views

How to search by like query in sales order grid?

I'm using Order's increment ID in the search by keyword field to get the search results. However, it only works with 00000XXXX and not by XXXX. Search by keyword is using Fulltext searching but how to ...
user avatar
0 votes
1 answer
37 views

How to display products' categories instead of products on search result

I'm creating magento 2 store for pre-owned goods. Even though, in reality, two pre-owned items may be absolutely identical in sense of brand, model, technical specification and so on, I can't display ...
user avatar
0 votes
0 answers
25 views

Magento 2.4 modify search logic

At the moment I have products that have the visibility of "catalog & search" and of "search". When a user performs a search on the site I only want products that have a ...
user avatar
  • 2,429
0 votes
2 answers
37 views

Catalog Search is struck in reindexing

Catalog search is strucked while reindexing. It's taking too much time.
user avatar
0 votes
0 answers
16 views

Adding attributes to OrderItemSearchResult

Sorry for beginner question, but I need to add aggregate field to /V1/orders/items response (2 sum fields) - can you give me a hint how it is usually done?
user avatar
0 votes
2 answers
436 views

Magento 2.4.2 not showing products in category pages after version update

I have updated my Magento from 2.3.0 to 2.4.2, and seems to work fine, but one thing, if I go in any category page, I see no products, and even if I search for, I see no results. On the homepage there ...
user avatar
  • 1,427
0 votes
0 answers
6 views

Add specific products, best sellers or recommended products if the search result is empty

Is there a way that when the search returns no results, it will show me suggested products or best-selling products? If possible, what are the steps that I will need to take to achieve this goal? ...
user avatar
0 votes
1 answer
26 views

I want to extend the mobile search on click to the desktop

I want to extend the onclick search bar like in mobile view to the desktop view also, how can i do this.
user avatar
-1 votes
1 answer
90 views

Hide simple product when in configurable

Hide all simple products from Catalog or Search results that are added in the configurable products?
user avatar
  • 1
0 votes
0 answers
41 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":"...
user avatar
  • 887
0 votes
1 answer
603 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 ...
user avatar
  • 350
0 votes
0 answers
21 views

How to display only enable products on search page or auto suggest in magento 2 using search-criteria

Find the below code for your reference but it's showing both enable and disable products. I want to display only enable products. //Code for fetch products based on search term. $this->...
user avatar
0 votes
1 answer
201 views

Magento 2 | Change sort order for search results

I would like to set as the default order in the search results page "relevance" in descending order. How can i do? Thanks
user avatar
  • 297
0 votes
0 answers
13 views

ajax search in drop-down list

I have a drop-down list populated from database, I need to search on this drop-down list using ajax and see in real time the possible results left in this list.
user avatar
0 votes
2 answers
344 views

Layered navigation not working with search results?

a little help if possible, please. I cannot get layered navigation working with search results i.e. no filters? Works perfectly when browsing the website with all filters showing the correct results ...
user avatar
  • 1
0 votes
0 answers
32 views

How to add filter for particular field in Product Ordered Report Grid in magento 2

I have added a new custom column in Reports->Products->Ordered Grid and populated the corresponding data by following this link How to debug Reports > Products > Products Ordered ...
user avatar
  • 2,398
0 votes
2 answers
46 views

Strange search terms automatically added to Search Query table

Strange search terms appear in Last Search Terms and Top Search Terms which are from Search Query table. What can be the reason?
user avatar
0 votes
1 answer
166 views

Magento 2 high MySQL usage. Same query running over and over

Our Magento 2.3.5 has started to continually use 100% CPU and I found that the below query gets executed over and over for an unknown reason. Any information to what is generating the query would be ...
user avatar
  • 1
1 vote
0 answers
44 views

Product attribute in Google's product search result description

How to show the product attribute in google's product search result description? Particularly, I want to show the final price of the product. Please check the below-attached image in which amazon ...
user avatar
0 votes
4 answers
550 views

Magento 2.4.3: Magento Default Product Search Not Working

I have upgraded the version of magento from 2.2.6 to 2.4.3 in local, so after that i have check the magento search product functionality, so it's not working as screenshot attached: https://i.imgur....
user avatar
0 votes
1 answer
16 views

Magento products showing on specific store view that are not enabled on

I have 2 store views (Bahrain Store & Saudi Arabia Store, Some products are only enable in Bahrain store, but when browsing in Saudi Arabia store those products are shown still in the search bar, ...
user avatar
  • 1
0 votes
0 answers
18 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]=...
user avatar
  • 109
0 votes
0 answers
55 views

Uncaught RangeError: Maximum call stack size exceeded at Object.ctx.nameToUrl in requirejs-min-resolver.min.js in Magento 2 error in console

I am facing this issue after minifying of Js in my magento 2.3.7 at only on category catalog page. 33 VM818 requirejs-min-resolver.min.js:1 Uncaught RangeError: Maximum call stack size exceeded at ...
user avatar
0 votes
2 answers
59 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 ...
user avatar
  • 1
2 votes
0 answers
46 views

How to get blog result list into catalog search Magento 2

Hello I am currently working on Custom blog extension. Where I want to get blog posts in catalog result. where I am having my_blog_post table with following columns. id title image description ...
user avatar
0 votes
0 answers
54 views

Magento 2.4.2 : Full text search via elastic search customisation

I want to customise an elastic search for full-text search Example Suppose the search term is "maths book" then the search should display results for a product whose name contains both the ...
user avatar
  • 749
0 votes
1 answer
32 views

Change minisearch bar input width on hover

I am trying to change the search bar input width when it expands on hover. <div class="search-wrapper"> <div class="search-content block block-search" id="search-...
user avatar
0 votes
3 answers
87 views

Magento 2.3.6 search result page no product images

I'm trying to fix a an issue in a store for a customer without success.. Website prochet1861.com is developed with Magento 2.3.6 and running Elasticsearch 7. All work perfect (categories, advanced ...
user avatar
0 votes
0 answers
86 views

How to enable search from product name only in magento 2?

I am new on magento. Please help me to enable search of product according to product name only, on Magento 2.4. Because I am searching diaper and it is showing other products. Please check the below ...
user avatar
4 votes
1 answer
105 views

Magento 2 - Search result not working properly on dropdown attribue

I have a dropdown attribute brand Use in Search is set to "Yes" Search Weight is set to 10, tried with 7 as well In configuration Search Engine is set to MySql There are more than 100 ...
user avatar
  • 8,828
0 votes
0 answers
16 views

Magento 2.1.10 - Search Parameter including 'or' doesn't work

I am working on a Magento 2.1.10 project and we have a product called 'Double or Nothing' however if I enter 'double or nothing' in the search input field, I get no results. Interestingly, I can find ...
user avatar
0 votes
1 answer
45 views

Move element for mobile only

I use the Porto theme. My search bar is in the porto_header container. When I switch to mobile, I want the search to be in header_top. Is there any way to do this with the XML config, or do I have to ...
user avatar
0 votes
1 answer
244 views

Magento 2 search query Customization

I am facing an issue in search Magento 2.4. I want to change the search behavior For example: I search RP-4 then getting products that contained RP-4 string. Then I search RP4 result No record Found I ...
user avatar
0 votes
0 answers
393 views

Your search returned no results after search category or product in the search box error in Magento 2.4.0

As I am searching anything inside the search box like category name or product it is showing not results error in the Magento 2.4.0 version. Can you please how to resolve the issue quickly ?
user avatar
1 vote
0 answers
102 views

Magento 2.4.2 cacheable search results (past first page)

We have seen that Magento after first page (whenever there is a p request parameter) the code forcibly makes the page un-cacheable. Is there a reason for allowing the first page to be cached and not ...
user avatar
  • 233
0 votes
1 answer
67 views

Products Disappearing From Search Results

Magento Version: v2.4.1-p1 Elasticsearch Version: v7.10 Products are disappearing from search results on our site. When reviewing the exception.log we are seeing the following error messages: main....
user avatar

1
2 3 4 5
15