Questions tagged [catalogsearch]

Denotes questions related to the Magento catalog search engine

Filter by
Sorted by
Tagged with
6 votes
1 answer
3k views

Elasticsearch 5.0+ not working magento 2.3

I have installed elasticsearch in my local server successfully.I am not able to reindex the catalog search indexer.Please check attached screenshots. When i click on the test connection then it shows ...
2 votes
1 answer
291 views

catalog search engine is mysql and database engine is mariadb

I've recently migrated database from EC2 to RDS. On EC2 Database engine was MySQL version 15 distribution MariaDB version 10.0.37. On RDS Database engine is MariaDB version 10.1.14. And magento ...
1 vote
1 answer
320 views

Magento 2. How do i put out of stock products to the end in catalog search result collection?

I tried to do it via layer collection : $collection->getSelect()->order('is_salable DESC'); It works for catalog, but does not sort the result in search .
5 votes
0 answers
249 views

Magento 2 - Product names with number/digits & special characters are not searchable

I have product names like ' 8" X 6" cards ' they contain measurements i.e. numbers and characters. when I try to search these products on the frontend. the Ajax search returns the product fine and ...
3 votes
0 answers
17 views

Magento 2.1.16 - Search only returning 1 page of results

Since updating to 2.1.16 our search results now only return one page of 30 results. There is no option to view other results or other pages of search results. Where can I investigate further? ...
  • 31
3 votes
0 answers
228 views

Disable catalog search module - Magento 2.2.2 EE

we are trying to disable the modules "Magento_Search & Magento_CatalogSearch" because we are using algolia search not default magento search. But, we can't disable the module, it has dependency ...
  • 9,737
2 votes
0 answers
81 views

Magento2: Class not found error

Product category page is not working. My Magento v2.0 Got the error below. use Magento\Framework\EntityManager\MetadataPool How can I solve the issue. ?
  • 1,137
1 vote
1 answer
31 views

Search product will give nothing in magento1.9

I am facing an issue that whenever I searched a sku (the attribute is searchable - yes), no result found. My catalogsearch_query has Null for that query string "redirect" column. https://prnt.sc/...
  • 774
2 votes
0 answers
458 views

Catalog Search not working in magento 2.2.4

No search result in catalog search. I have reindex data still getting no result. When i look in data base, i found that my catalogsearch_fulltext_scope1 table is empty. is there any issue with this?
0 votes
1 answer
67 views

Search type in Catalog don't search by Product's Name

I'm changed catalog search configuration to : System > Configuration > Catalog Search Type => Combine (Like and Fulltext) Product Listing Sort by => Name But when I search by name, the product ...
0 votes
0 answers
92 views

Remove specific product from Solr core while deleting product in magento 1.9

Is there any better way to deleting the product from Solr core while deleting the product from Magento admin. When I delete a product , it doesn't actually reflected or removed the product from Solr ...
2 votes
1 answer
2k views

How to change layout of catalog search page if results are empty

Wanted to change from two columns to the one column xml when catalog search results returns zero counts. Using Magento 2.3 version of the community. Showing empty sidebar on the left side.
  • 3,804
0 votes
2 answers
2k views

Magento2.1 different mobile view

I want to see search results in list mode by default in desktop, and see it on grid mode on mobile. What should I do? Right now I edited catalog search list.phtml to show list mode by default on ...
  • 731
1 vote
0 answers
387 views

Magento 2 - To show CMS pages in catalog result pages

How to show CMS pages in following format on catalog result pages. On Catalog search result pages, i want to show second section in the form of CMS pages after product list or grid based on searched ...
  • 1,885
3 votes
2 answers
1k views

Product not found when searching by Title

There are some products in my store that are not displayed in search results, when searching by product name. Same products are found in search results when searching by sku. I have tried re-indexing,...
  • 611
1 vote
0 answers
253 views

Catalog search show all products - Magento 1.9

When I do a search it does not give me a result based on my input but it shows me the whole catalog. Which is a problem because my catalog contains over 85,000 products, and it takes a lot of time to ...
  • 67
1 vote
0 answers
44 views

Magento 2.1.9 Community Edition Catalog Search page not displaying results

Magento 2.1.9 Version Community Edition. My Catalog search page is not displaying any results as show below. So far what has been done as testing.But still not working. Re indexed still not ...
  • 11
1 vote
1 answer
662 views

Magento 2 Wrong products count on Advanced Search & Catalog Product List

I am using Magento 2 and have noticed a wrong products count on Advanced Search & Catalog Product List. For example for Advanced search it may show 3 products and total count will say 10. Same ...
  • 171
1 vote
0 answers
49 views

Magento 2: To set 301 URL in Magento URL rewrites for this particular search

How to set 301 URL in Magento URL rewrites? From https://www.example.com/catalogsearch/result/?q=%7Bquery%7D To https://www.example.com/catalogsearch/result/?q=query I have tried with below ...
  • 1,885
1 vote
0 answers
64 views

Catalog search result problem

I have a catalog with over 85k articles, when I do a search as a result I always find the usual 4 products. I have also installed the Amasty Search Pro extension and it is able to find all the ...
  • 67
1 vote
0 answers
43 views

Magento1.9 URL Issue for Duplicate Name Products

I am facing an issue where On my store more than 2 products have the same name things are going fine on a low range of products, As Magento will update URL on saving in the catalog_url_rewrite table ...
  • 774
4 votes
0 answers
280 views

Indexer stuck at processing Design Config Grid, Customer Grid, and Catalog Search

My indexer always stuck at processing for Design Config Grid, Customer Grid, and Catalog Search i already ran php bin/magento indexer:reset , but when the cron indexer run the result still the same, ...
  • 409
1 vote
0 answers
275 views

How to find custom catalog search in magento2?

We checked the following url in http://localhost/magento2/search/ajax/suggest/?q=tes&_=1545813701256 In this url, how to customize the response from that url. My file path: app/code/Magento/...
1 vote
2 answers
2k views

Magento2: Catalogsearch Result Page change to 1column doesnt work

Want my search results only in 1 column. After updating my catalogsearch_result_index.xml with layout="1column" I got a blank site with a Error 500. Clearing cache, deploy static files was done. (...
  • 113
2 votes
1 answer
1k views

cataloginventory_stock_status randomly has missing entries

What could cause cataloginventory_stock_status to have missing entries I have to fix manually? It makes the product appear out of stock even though it isn't. I've tried replicating by flushing, ...
user avatar
2 votes
1 answer
2k views

CatalogSearch results looking for partial SKU

I need to be able to search by partial string of a SKU, for example, if a SKU of a product is "CUS123.5NYS" the customer may also be able to search by "123.5N", but currently, it only works if I ...
0 votes
0 answers
602 views

How to override search autocomplete model for Restricting only pick 5 item from collection

I need to restrict search autocomplete results. I want to Restrict that only 5 item pic for query. I did this Search/suggest.php controller. But this is not a good way , i want to modify collection ...
  • 1,135
4 votes
3 answers
3k views

Get search result count in Magento 2

How to get Search result count and keyword in result.phtml in magento2. I have overriden the Magento_CatalogSearch/templates/result.phtml file. I need to show the count returned from the search ...
  • 1,809
5 votes
1 answer
3k views

My Search result not showing relevance products properly Magento 2

When I search for any string, the relevant search results not working properly. Can you guys please look into the attached image? I have enabled name and SKU for the search. To reproduce this issue I ...
5 votes
4 answers
14k views

How to disable ElasticSearch using terminal?

I was using ElasticSearch in my old server and then I migrate the server for a new one that it's not using it anymore, so I'm receiving this issue message below. Exception #0 (Elasticsearch\Common\...
0 votes
0 answers
79 views

M2 Search Result Not Displaying Correct Result/Products

I've a multi-store setup using multi-website approach. For some products, when I run a search query, I am not getting correct results, instead completely unrelated products are getting displayed. ...
  • 445
0 votes
0 answers
180 views

Why Magento catalogsearch catalogsearch/result redirect to shop home page

We have tried the product search option in shop frontend, so executed the below URl (GET method) https://www.example.com/catalogsearch/result/?q=searchvalue Search result output are displayed ...
  • 604
0 votes
1 answer
29 views

Magento Search System Issue

I`m having a strange issue with catalog searching. Performing this simple search returns 35 products : catalogsearch/result/index/?q=bac However, when I refine it by category, I still receive the ...
  • 431
1 vote
1 answer
887 views

Magento 2: custom UrlRewrite Controller Router not works with some handlers

I'm creating a module to use custom url rewrites. For this I have created a module and I am using a custom UrlRewrite Controller Router. For testing purpose, I generated the Router below. It works ...
0 votes
1 answer
943 views

Magento 2 > Partial search on model name

How can I have the default catalog search mechanism search on part of an attribute (in my case - the model attribute)? As it seems out of the box - the search works only on full word, or the beginning ...
  • 101
1 vote
0 answers
55 views

Magento 1.9.3.10 - Search doesn't work, advanced does!

Hi guys got a weird one the normal magento search returns 0 results, but the advanced search works? Tried: Reindexing Clearing Cache Re updating attributes of products to link to website Checked for ...
0 votes
1 answer
244 views

Magento2.2 - Error in catalog search

I have facing problem on search product(s) from my website. Someone please help me out to know what happens in this error. When I search for a product in the site search, for example "Dress", the ...
0 votes
1 answer
637 views

Magento 1.9 Catalog Search result redirect the live website

I am trying to find where I did mistake when I search abc in catalog search tab. the link local.xyz.com/abc.html Redirect to www.xyz.com/abc.html. Don't know where I did mistake, I already changed the ...
1 vote
5 answers
3k views

How to remove add to compare in catalog search result page?

Actually I want to remove add to compare in catalog search result page
3 votes
1 answer
40 views

When To Use MultiStore Vs. Categories

I'm attempting to hide the "Add To Cart" button for specific stores currently and am having some issues with my lack of experience. It works in each individual store but not when using the search ...
1 vote
0 answers
1k views

Magento 2 Product Searching Not Working

When I'm searching for the product name "Dell" then getting products which don't have any word "Dell" in the product name. e.g- I'm getting following product name when searching for "Dell":- 1- "...
1 vote
0 answers
42 views

Magento2: How can create individually custom dropdown of categories and subcategories?

I want to search products by parent categories and sub categories via search box. for example there is two dropdown "search by categories" and "search by sub categories". when we will select first ...
3 votes
0 answers
198 views

Magento2: How can search products for specific category via search box?

I want to search products for specific categories though search box. Anyone have an idea for that?
1 vote
0 answers
159 views

Magento2: How to search products by categories in mini search?

I want to search products with categories in search box. please find attachment of screenshots. Anyone have an idea for that?
1 vote
0 answers
188 views

Catalog Search Issue

When I'm seraching product title "Mixer, Ribbon, 25 CF, 304 S/st, 15 HP, New, HD, (2)" on the website, then getting following error:- 2 exception(s): Exception #0 (Zend_Db_Statement_Exception)...
3 votes
1 answer
1k views

Set default direction (ordenation) in Catalog Search Result

Magento 2 uses default "asc" ordenation for category page and Layered Navigation. But in catalog search result page, the default direction is setted to "desc" and I've debugged the code, I've found ...
  • 681
3 votes
1 answer
72 views

How to change advance search url

How i can change advance search url /catalogsearch/advanced/ to /catalogsearch/result/ in magento1
  • 976
2 votes
0 answers
39 views

Search for sku of custom option in shop

I want to configure the search to search for a SKU of a custom option. I got different products with custom options and a related SKU. I want to get it working, that a customer can search for the SKU ...
  • 101
0 votes
3 answers
2k views

Magento 2. What is the role of the search_query table

Magento 2. What is the role of the search_query table? Where is it used? Should I ever clear it? What would be the impact of clearing it?
1 vote
2 answers
1k views

Magento2: Catalog search page is not working?

I am getting this search results. How to change Catalog search results Page. When there is no results it displays fine with header and footer. When there is a results, it doesnt displays header and ...
  • 303

1
3 4
5
6 7
15