Questions tagged [catalogsearch]

Denotes questions related to the Magento catalog search engine

Filter by
Sorted by
Tagged with
2
votes
1answer
190 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, ...
2
votes
1answer
322 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
0answers
32 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 ...
4
votes
3answers
932 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 ...
5
votes
1answer
1k views

My Search result not showing relevance products properly Magento 2

When i search for any string, the relevance search result not working properly.Can you guys please look into in the attached image? I have enable name and sku for the search. To reproduce this issue ...
0
votes
2answers
1k 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
0answers
22 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. ...
0
votes
0answers
24 views

Magento 1 Search - No Results After Update

Hi guys we dropped the latest magento core over our installation to update everything as it was a little out of date. Since then the search has been returning no results. I have done all of the ...
0
votes
0answers
49 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 ...
0
votes
0answers
30 views

Searching a category with many items very slow?

This is my search URL after sending a search: https://example.com/catalogsearch/result/?cat=575&q=mysearchterm As you can see, I am searching for mysearchterm in category 575. This is extremely ...
0
votes
1answer
25 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 ...
1
vote
1answer
280 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
1answer
122 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 ...
1
vote
0answers
36 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
1answer
70 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
1answer
242 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
5answers
1k 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
1answer
28 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
0answers
949 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
0answers
23 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
0answers
144 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
0answers
71 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
0answers
66 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
1answer
505 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 ...
3
votes
1answer
30 views

How to change advance search url

How i can change advance search url /catalogsearch/advanced/ to /catalogsearch/result/ in magento1
2
votes
0answers
31 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 ...
0
votes
3answers
289 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
2answers
573 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 ...
3
votes
0answers
339 views

Magento 2.2.5 Product attribute “use in search” RESETTING after index:reindex

UPDATE:: Today i discover that happen when the cron run index:reindex How can I fix? Today during configuring manufacturer attributes I found a bug or however an anomaly on Magento 2.2.5 I, ...
2
votes
0answers
42 views

Magento 2 search returns 1 product only

I have a problem in my store, the search returns only 1 product shows, I already did the re-index and cleared the cache. The products also have stock and visibility for catalog and search. http://...
2
votes
1answer
654 views

Magento 2.2.5: Catalog Search return blank page

I know this question has been ask alots , but i cant find the answer that can fix my problem, so here we are. At first,i enter something into the search text, for example, i enter an "S" word. Then i ...
1
vote
1answer
79 views

Make Magento search more effective? Is there a way to make it search for product names first?

Magento 1.9.1 Porto theme When we do a search for a word which is also contained in product names - it returns all kinds of products but does not show the products that actually have that word in ...
2
votes
1answer
206 views

SQLSTATE[23000]: Integrity constraint violation when searching on frontend

On my frontend when I type anything in the search box I get the following error: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'position' in order clause is ambiguous, query was: ...
2
votes
0answers
453 views

Magento 2 catalog search result

I re-enabled the frontend global search and while the autocomplete suggestion work, any query returns the following error. I do notice the URL search does look like this when clicking any suggestion ...
3
votes
3answers
503 views

Improve performance - Catalog Search Fulltext

Do you have some suggestion how can I improve the performance of the catalogsearch_fulltext indexer for Magento 2.1.X I already set this indexer to 'Update By Schedule' so only the updated products ...
0
votes
1answer
367 views

How to change price on product filter result page?

I've created a custom module to show the installments price, and it is working OK in the product page and category page, for this, I've created a plugin, my di.xml: <?xml version="1.0"?> <...
0
votes
0answers
87 views

Magento 1.9 Disabled products displayed in Search

I am working on Magento 1.9 and facing a issue where the disabled products are showing up in search suggestion as well as in search results. What i have tried https://magento.stackexchange.com/a/...
1
vote
4answers
718 views

Magento 2.x CatalogSearch Undefined Variable($resultPage)

Here is my code. My finding is- This is the URL for Parent Class( class Index extends \Magento\CatalogSearch\Controller\Result\Index) but unfortunately there is no $resultPage defined in this ...
2
votes
2answers
2k views

How to search specific SKU in magento2?

In search bar when i am searching a product using sku (100.40.10), It displays all the product whose sku is having prefix (100.xx.xx) , But i only want it to fetch whose sku is (100.40.10).
1
vote
0answers
28 views

Best method in Magento1 to set search URL's to be no index and no follow

Looking at Magento1 catalog internal search Would adding the below to the search file template be the best method to stop URL's indexing in search engines? NOINDEX,NOFOLLOW Any other ways to do?...
0
votes
0answers
44 views

How to limit search to not show price in Magento2?

Hi currently the realtime search will display everything including icon and price. For example if I type spice it will show a bunch of spice in the database as well as icon and price. What I like to ...
0
votes
2answers
442 views

Magento 2.2.4 : Way to get search result url (including the parameter)?

Every time I type something something in the search bar, I get redirected to the following url: https://XXXXXX.com/catalogsearch/result/?q=typed_text_on_search_bar Is there a way to get the complete ...
6
votes
2answers
499 views

I faced the error while search any string Magento 2

When I search for any string in Magento2 then there is result page showing blank. I got the exception.log file. "[2018-06-01 08:57:23] main.CRITICAL: SQLSTATE[HY000]: General error: 1191 Can't find ...
1
vote
0answers
81 views

Magento 2 : search are not relevant

Where should I look (xml file) when : Search result are bugged in only my theme. ( I have to press 2 times on the arrow "relevance" to get true result). If I use "Magento Luma", everything is fine. I ...
0
votes
0answers
224 views

Layered navigation only for subcategories in home page

I have these sub-categories under books category. I have tried adding this code to my home page as described in here Magento 2 How to show Layered Navigation on home page? . But it shows only price. ...
0
votes
1answer
50 views

How to edit / remove tabs in search result page Magento 2

How can I edit or remove the tabs on top of the search result page? I want to show the categories just above the results grid without inside of a tab.
0
votes
7answers
377 views

How to uninstall extension Algolia_AlgoliaSearch in Magento 2?

I had installed Algolia_AlgoliaSearch extension via composer in Magento 2. Now I want to remove this extension from the website. So that I have deleted the complete files and folders of the extension....
0
votes
1answer
119 views

Show static block only on catalogsearch page

I want to show a static block only on the catalogsearch page. My catalogsearch page is the same layout as 2columns-left.phtml. I don't really want to make another layout for the catalogsearch. Is ...
1
vote
1answer
441 views

Magento 2 : Search page has not showing exact result

I have two products Product name : Test Product and sku: dp-2200 Product name : Test Product2 and sku: dp-3000 When I search for: "dp-2200 test" then it will return both products in the results. ...
1
vote
1answer
601 views

How to install Elastic Search and configure on Magento 2.2.X? [closed]

I want to install Elastic Search on Magento 2.2.X Community Edition. Can anyone help me on this?