The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [search]

Denotes questions related to the search engine on Magento.

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

Pagination for search not returning with /catalogsearch/result/

Running Magento 2 and when someone searches the results are fine but the Pagination returns With Other pages ie; /?cat=&p=2&q=+Masks not /catalogsearch/result/?cat=&p=2&q=+Masks ...
0
votes
0answers
12 views

product collection result overriding by other module

I have two 3rd party modules one groupCat module which filters out the product collection to display customers based on customer groups. another module is the search module which fetches all products ...
0
votes
1answer
27 views

How to edit default search in Magento 2?

I want to edit default search bar in Magento 2. What I would like to have is to display the search icon and when the customer clicks the icon I want to show the search bar. To do that, where to ...
1
vote
1answer
21 views

Magento 2 - Get search query without temporary or virtual table

I was trying to debug the search query. Temporarily I changed the _getProductCollection method in vendor/magento/module-catalog-search/Block/Result.php . I notice the query string contains some ...
1
vote
0answers
42 views

magento 1.9.4.2 problem with search, server crashes

I have problem witch search on my Magento When I start a search for the word "hard drives", for some reason my server crashes. But if I search by some other keywords, everything works well what ...
1
vote
1answer
43 views

Magento2 enabling elasticsearch empties all categories

I installed elasticsearch and the Magento backend connection test to elasticsearch is successful. If I save settings, clear the cache and reindex as described in the Magento devdocs, all product ...
0
votes
0answers
21 views

Magento 2: Products not showing in search but in catalog is ok

I have a problem with my catalog. Products are visible in catalog category view pages (I can do any action - add to cart, buy...) but when I want to search any product then not showing in search ...
2
votes
1answer
53 views

Magento 2 Reindex error: snapshot in progress

I'm using Magento 2.3 with cloud ElasticSearch and sometimes reindex cron gives the following error [2019-09-18 19:24:13] main.ERROR: Cron Job indexer_reindex_all_invalid has an error: {"error":{"...
2
votes
0answers
29 views

Magento 2 Catalog search results are not correct?

I have migrated data from magento 1 to magento 2. I am searching product name: 4.0ct Round Morganite Diamond Engagement Ring Bridal Set 14k White Gold then it is showing lots of products on result ...
0
votes
0answers
24 views

Magento 2 How to add filter Search on Inventory Grid

Here I want to add Search on Inventory, here I overridden the inventory but i cant able add search filter in Block. like this image Cant I get help? Thank you in advance.
1
vote
1answer
31 views

Search bar giving results like query

Search results for specific words like "to" , "toy" giving results in suggestion like query.
0
votes
0answers
13 views

Search is slow for some search strings

I have a magento 2 commerce site. In the header when I search for certain keywords the results load fast _1-2 secs) but for other search strings it loads slow 7-10 seconds. I understand results are ...
0
votes
0answers
8 views

Examples of magento 1 modules that works with 3-rd party API

Recently I started to work with Magento 1, so want to learn how to do things right. Now I have some task - search through 3-rd party API (I am interesting how Magento works with another API, not own ...
0
votes
1answer
36 views

Add class when search results into no products in magento 2.3

I want to add one css class when on search of a particular product we does not get any result see https://prnt.sc/oyh8h9 and https://prnt.sc/oyh90w. I want to add class in footer block based on the ...
0
votes
0answers
9 views

Magento2.1 search

After import attributes with magmi in magento2, search function is not working. It always shows no search result found in search result page. Reindex didn't help me
0
votes
1answer
23 views

Magento 2 : How can I stop SQL attack through search bar

It's a bot that is continuously attacking, I try to hide these special characters suggestion form dashboard also try to delete them but all in vain, it comes again the next day(Magneto 2.3.1).
0
votes
0answers
41 views

Magento 2 Search Bar error

We are using Magento 2.3.2 and integrated Smile/Elasticsuite for faster search. If we type a search keyword we get suggestions and if we click on the suggestion we see the result, however, if we ...
0
votes
0answers
27 views

Magento 2: Add an attribute to global search

Is it possible to add an attribute from a custom module to the global Magento 2 search system? For context I've got a couple of custom attributes added to the sales order records (an external legacy ...
0
votes
1answer
33 views

Magento 2 search suggestion showing some character and symbols

My search is not working fine, when i try to search, it shows some unknown and irrelevant charters in the suggestion.
0
votes
0answers
42 views

Magento 2 Query to get Product with SKU also

I'm using an extension called M-Connect Autocomplete Search, I'm facing a problem that when user tries to search product by SKU like 3-SC, 3-SC-10, 3-SC-BL, 3-SC-BL-C but can't get any result, maybe ...
1
vote
0answers
28 views

Magento 2 : Website Search Functionality is not Accurate

The search functionality is no longer accurate and provide irrelevant products on my Magento2.3 site. For e.g. when one search for 'shirt' other products appear. How can this be solved so that my ...
0
votes
0answers
17 views

breadcrumbs after using research

My issue is the following (I'm hesitating on posting it on Github) In this example, I have 2 products, in different categories : product1 in cat1/cat2/cat3 and product2 in cat1/cat4/cat5 The start ...
0
votes
0answers
32 views

Magento2: how to add fulltext search query in block page

Magento2 : How to add a full-text search query in a block's function within a custom module? This is what I am trying so far: $postCollection->addFieldToSelect('*'); if($search != '') { ...
0
votes
1answer
40 views

How can I add categories to search suggestions in magento 2.3

Am using elastic search as the search engine. Can anyone tell me how can I extend the search suggestions in Magento 2.3.1 to add the categories in search suggestion? Any small help or clue will be ...
0
votes
0answers
67 views

Magento 2.3.2 Elasticsearch issue with multi language(Greek)

I am using Elasticsearch 6.8.1 with magento 2.3.2 instance. Although in English store my search is working fine, in Greek store I am having some issues with the words having accents. This happens only ...
0
votes
1answer
18 views

How to get products with the available dates?

I have created product attributes "Available from" and "Available to" with the input types date. I want to get products from the available dates while searching. How can I achieve that result? ...
0
votes
0answers
21 views

Magento 2.3 - Does default search suggestion doesn't suggest product names?

Can anyone tell me what does the default magento 2.3 search suggestion suggests? Am using default elastic search engine for search. Can I able to suggest product names?
0
votes
1answer
40 views

Search is not working by product attributes

We have added couple of products on our Magento 2 site. In the home page of the site, we have a search form and there we have put input boxes as product name, from, to and location. We want to display ...
0
votes
0answers
17 views

How to search the products by location?

We have a search form in a banner. In the form, we have three tabs and each tab have input boxes like "what you want", "location", "from", "to". We have created this form to search the products based ...
0
votes
0answers
16 views

magento 2 how to add search box to fronted for a custom table contents

How to add a frontend search box for a custom table contents. When the user enters three letters of a name then get data in pop up. Anyone Can help? Thank you in advance.
3
votes
0answers
64 views

Magento 2.3 Result page blank if an item is found

I am trying to search for products on my Magento 2.3 site. When the result is empty (there are no products found) it just shows a page saying there are no products found. Perfect! But when there is a ...
3
votes
0answers
20 views

Search product work wrong in Magento 2.x

i have a problem with searching products in Magento 2. Ex : My store have 2 products, ABC and XYZ. When I search for the keyword "ABC" or "XYZ", it show product ABC or XYZ. But if i search for ...
0
votes
0answers
24 views

Magento2 - Have two search bars on same page

Currently, the client is wanting a search bar in the header, and also one in a banner/cta for a landing page on Mage 2.3 I can successfully move the search form from the header to the content area ...
0
votes
1answer
26 views

Magento2: How to get product collection by full text search?

How to get product collection by full text search? $query = $this->queryFactory->get()->getQueryText(); $collection = $this->_productCollectionFactory->create(); ...
2
votes
0answers
30 views

Magento 2 Elastic search results show different relevant results

We are using Magento 2.1.8 and facing issue with elastic search results, it's returning all relevant results instead of exact results.
1
vote
0answers
21 views

How to Extend Algolia_AutoSearch extension in my own custom extension. Magento 2

I want to create a custom Module in which I want to use Algolia_AutoSearch extension Like my extension is about Search like Algolia extension do but my search will be about the orders i.e. customer ...
2
votes
0answers
14 views

Create new tabs search results and find customer in magento 2

I created a tab in search results like this. The problem is that when I click on the "B" tab it will find what I want to find, ex as customer. Please help me create it step by step. I think i should
0
votes
0answers
13 views

Magento2: How can customize search box in product admin grid?

I want to search products by any text if it related to product. please find screenshot: https://prnt.sc/o2w458 When I search by "bolt kit" then it is showing results but when I search by Kit bolt ...
2
votes
1answer
27 views

Refined search queries

I am currently making a Magento 2 store, and have two separate searches; the first one is just a normal query that searches the whole product database. However, it's the second one that I'm having ...
0
votes
0answers
13 views

Search results not showing in main results screen, but are being returned

We are running Magento 2.3. I have been doing some API work (NO internal magento changes) to update products, but have been using the same code for weeks without issue. All of a sudden, searching ...
0
votes
0answers
29 views

Image not displaying in Algolia search magento2

I have installed Algolia search extension in our magento2 store. The extension is working properly but one issue is that images are not displaying when the search is made. In all other pages like ...
0
votes
1answer
20 views

Magento 2: Product URL Suffix problem with search (2.3.1)

We removed the values for url suffix from the configuration (removed .html). After rebuilding cache and reindexing from CLI the store works correct but the search function for some reason doesn't. The ...
1
vote
0answers
18 views

Magento2 | How to change the main search site?

Sorry for my English I currently have a full-text index and when the search is in progress, it does not look for a substring. How to make a search to work as %LIKE%? I have this hdd with serial ...
0
votes
1answer
27 views

Magento2: Created Date search result wrong in french but right in English admin site

I have create a custom module for creating the orders report.Add Created Date TO 2 FROM Filter its working fine in English language . like : But when i change Interface Locale french : Then created ...
0
votes
0answers
20 views

magento2. How create correct search

Sorry for my English When I do a search on the site, Magento himself changes the search. How to remove it? For example i search "wd5000aaks V0 TJ 2011" but Magento himself changed my search. I do ...
0
votes
1answer
34 views

magento2. Get SQL string frontend search

When a user makes a search on a site(where search product), I would like to see SQL request this search. How can I see him?
2
votes
2answers
29 views

Magento 1 location of search bar code

I am trying to move my search bar bar into the white bar so that I can delete the tan bar: But I don't know where to look to find the code for the search bar either in the admin panel or in code.
0
votes
0answers
17 views

Category Missing from Backend and Frontend Menu but in search category showing it's products also showing

Any Help Category Not showing on Backend and Frontend Menu but in search category showing it's products also showing magento 2
2
votes
1answer
111 views

Magento 2 extend $.mage.quickSearch Widget

I don't seem to be able to extend quick search module widget form-mini.js found in module/path: ../vendor/magento/module-search/view/frontend/web/form-mini.js How can I extend in my custom module $....
0
votes
0answers
114 views

Search by keyword is not working properly magento 2

When i search by full name of product the result in grid of product does not show the product. So is there a problem to fix and how to make search by sku product functionnal any help please and thanks ...