Questions tagged [catalogsearch]

Denotes questions related to the Magento catalog search engine

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

Magento2: How to move featured products first in search result? [duplicate]

I want to sort the product search results by featured attribute(Yes/No type) so featured product comer first then show non-featured products. Currently, my search result is mixing in featured & ...
0
votes
1answer
19 views

Pass Search Query to Product Page

I'd like to pass the search query to the product page that is clicked on. The reasoning is because if someone searches for a product, it may be on a grouped product page, so if they click on that ...
0
votes
0answers
40 views

Magento 2.3 : Product search not working when elastic search enabled

In Magento 2.3, I added custom filter when elastic search enabled. Then, I search any product, It's return something unknown error like : 1 exception(s): Exception #0 (Elasticsearch\Common\...
2
votes
1answer
58 views

Add custom dropdown in mini Search magento 2

How to add this functionality any one can help me
0
votes
0answers
17 views

M2 Search engine in block

I'm looking if it's possible to put the search engine in a block. What I use at the moment is: {{block class="Magento\Search\Block\Term" template="Magento_Search::form.mini.phtml"}} But if I add a ...
0
votes
0answers
18 views

Magento 2 - modify search

I'm developing a Magento 2.3 shop. I want to modify the search terms before sending them to the searchengine (database). At the moment I'm stuck where to hook into the code. Can anyone give me a ...
0
votes
1answer
36 views

How to show all the products on search result page in Magento 2?

I'm getting strange results from the search engine. For instance on "sk4072" if you search "4072" nothing comes up. Thankyou
2
votes
5answers
121 views

Magento 2 Change Default OrderBy Parameter for Search Results

How can I change the default order by value and direction for search results listing page? The default is set to Relevance but I want to change this permanently to something else i.e. Price for ...
0
votes
1answer
29 views

Magento 2 , After the override model file give an error

I override block file Form.phpof catalog search module all work fine, but when override model file Advanced.php give an error from Form.php Error filtering template: Type Error occurred when creating ...
0
votes
1answer
43 views

Is that OK to use Klevu with ElasticSearch in Magento 2

We are using Klevu on our site. Here is their site https://www.headcovers.com/ The search autocomplete runs really fast. See here - https://prnt.sc/qpe7w6 but it's really slow with the Ajax ...
0
votes
0answers
10 views

catalog search on magento 2.3.1 some times redirects to a paricular category page on IPAD

catalog search on magento 2.3.1 some times redirects to a paricular category page on IPAD , i have checked for any url redirects there everything was fine also i have checked database and entire files ...
0
votes
0answers
26 views

How Can I sort catalogsearch collection in Magento 1.9?

How i can sort catalogsearch collection? I found a function _getProductCollection but I don’t know what to do next and whether it is necessary to make changes here. I want to sort the search by SKU, ...
0
votes
0answers
26 views

Programmatically stop a catalog search after it's been started in Magento 2.3.3

I'm using an observer on the event "controller_action_postdispatch_catalogsearch_result_index" to redirect the user to a landing page if their search query matches one of a number of specific phrases ...
0
votes
1answer
37 views

Magento 2 Catalog Search not showing correct results

Whenever I enter the keyword in the search bar and hit enter then the results are not related to that keyword. For example, when i start typing madinah arabic there is a lot of results against that ...
0
votes
0answers
25 views

Simple products is not showing on Catalog page/Catalog search Magento 2.3.2

I am using Magento 2.3.2 for my store. I observed that all my simple products are not showing on the catalog page & catalog search (Frontend) . otherwise configurable products working correctly. ...
0
votes
0answers
12 views

How to get filterable attributes and options in Magento for catalog search page programmatically in Magento 1

How to get filterable attributes and options in Magento for catalog search page programmatically in Magento 1? $layer = Mage::getModel("catalog/layer"); $category = Mage::getModel("catalog/category")-...
1
vote
0answers
85 views

Magento 2 Fulltext search not working properly!

I have products SKU like EX-1205, XY-2536 or 569845 and product Name like TEST-2569. I am trying to use full-text search functionality so that a user should get the exact match for the product. So, ...
0
votes
0answers
6 views

Magento 2 search based on store view not working fine

I have two different stores like cars and bikes. When I'm in car store and when I search for some bike products I get vice versa in bike store also. I also updated the attributes to store view. My ...
0
votes
1answer
28 views

Magento 2 : To show category with in the top search bar results

How to show categories on the top search bar results? Do not want to interact with ElasticSearch as using MySQL search engine. Any sort of note would be much helpful.
0
votes
2answers
44 views

catalog search not giving exact result magento 2.3.2

In magento 2.3.2 community edition, the catalog search not giving exact result. I have set Minimal Query Length =>2, I searched "wine cooler" but I getting result list karoo angel products. If I ...
3
votes
0answers
29 views

Error While Searching in catalog serach with less than query min length - Magento2

Searching in catalog serach with less than query min length, I am getting error in Magento 2: #1 Magento\Framework\Data\Collection\AbstractDb->_renderFilters() called at [app/code/Mageplaza/...
1
vote
0answers
14 views

MANADev SEO Layered Nav Plus - Search Results URL Issue

I have the MANADev Layered Navigation Plus extension for Magento 1.9. The support period has expired or I'd ask them, but hopefully someone else has this and knows what to do. I have it working ...
2
votes
0answers
30 views

A technical problem with the server created an error. Try again to continue what you were doing. If the problem persists, try again later

I have set min query length in catalog search to 3.And if search less than this characters then i get this above error. I have used mageplaza extentions. I tried with disable also.But same issue ...
0
votes
0answers
24 views

Search not giving exact result

I am searching table but it not giving only table related records. It giving me other products also, which is irrelevant. I have set criteria in admin panel short description, price, and image. What ...
1
vote
1answer
74 views

Sort the product collection before load by attribute option in Magento2

I am trying to sort the Product collection based on the attribute option value, I used below plugin Vendor/Module/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/...
1
vote
0answers
26 views

mageplaza and catalog search conflict in magento2 [closed]

I am using mageplaza plugin in magento 2.3.2. But in catalog search while searching with 2 character length it gives me error like you have processing error. I checked setting in admin panel there is ...
2
votes
0answers
28 views

Magento2: What is relavence sorting on search result page?

I want to know what is Relevance sorting in magento search result page, how it is working to sort the products
1
vote
1answer
39 views

update message “ Your search returned no results. ” when no records found

I wanted to update message " Your search returned no results . " in magento2.But i am not getting directory file to change the message.I am new to magento2. Please let me know the exact file path ...
5
votes
2answers
176 views

Mangento 2 search result page sidbar missing

It seems like am missing the sidebar in my search result page, for more deatil refer to the image below. How do I add the same sidebar that, I have on the category page? I have tried adding widgets ...
1
vote
0answers
73 views

Magento 2 - If search using less than min query length then it gives me error

If search less than min query length it gives me error on the front website in magento2. In catalog search, I have set min query length to 3. And if I search with 2 char length then it giving me an ...
1
vote
0answers
56 views

Sort search result products by attribute option value in Magento 2

I want to sort the search result collection by product attribute option value. Scenario: I have created a custom attribute called "product_category" as a drop down attribute. Which has the ...
0
votes
0answers
58 views

Magento2 Enterprise Edition - Elasticsearch Catalog Permissions Issue

Facing an issue with the Elasticsearch Catalog Permissions on Search & Product List pages. Pre-Conditions: Search Engine - Elasticsearch 6.x Category Permissions - Enabled in configuration and ...
0
votes
0answers
19 views

How to use custom fields in product search query in Magento 2?

The end user needs to be able to search for products using a new field and with data coming from a new table. I added a new string ID field to table catalog_product_entity and created a new table ...
0
votes
0answers
37 views

Magento 1 - Show custom module data in catalog search result page

I want to show custom module data in the search result page along with default data collection. Please suggest a proper solution for the same. Thanks in advance.
0
votes
1answer
12 views

Magento 1.x not showing default Catalogsearch Result Pages

I have removed Searchanise extetension from the code. After that my default Catalogsearch is not working. Control coming in Result, List in this blocks but phtml files related to those block was not ...
0
votes
0answers
18 views

Magento 1 catalogsearch_fulltext table search not working

During Fulltext search Looking for string 'snowden' (it is a books database), on Magento native frontend search returns 8 results. In catalogsearch_fulltext table, typing the query SELECT * FROM ...
0
votes
1answer
39 views

EAV indexer optimization: cannot find option

There is a section in the Magento 2.3 documentation that is titled EAV indexer optimization. It says that you should basically disable the EAV indexer, if you are not using a MySQL based search ...
0
votes
0answers
9 views

How can I display a static block as the second search result in a product search

I would like to incorporate an html block to serve as a banner as the second search result when someone searches for a product on my site. Example: User searches for shirts result 1. Red Shirt 2. ...
0
votes
1answer
36 views

Generate Search Issue when searching just few specific strings on Magento 2.3.2

When I am searching on Magento 2.3.2 website it is generating error as I have provided the image below. It generates results which looks like queries and generate on a specific string. Please help me ...
2
votes
0answers
29 views

Magento 2.2.6 Product Pages Not Opening after upgrade

The product detail pages on my site are no longer opening after upgrading from magento 2.2 to 2.2.6 There are no error rather a catalog search results page is loading instead http://mydomain.co.uk/...
0
votes
1answer
29 views

magento 1.9 Catalog search result showing encoded result in other languages other than english

I have a multi-store website with different languages when I search the terms from other languages it gives an incorrect result with special characters. and the URL is like this catalogsearch/...
2
votes
1answer
514 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
1answer
13 views

Link to search filters by price only

I would like to create links that will search the product catalog by price only without giving any text string. e.g. a link like http://www.example.com/catalogsearch/result/?price=51-100 to directly ...
2
votes
0answers
40 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
15 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 ...
1
vote
0answers
15 views

Infinite loop search page

While accessing the search url (http://localhost/mage2/catalogsearch/result/ or http://localhost/mage2/catalogsearch/result/index) infinite loop. Is it possible redirect to home page? Thanks.
0
votes
0answers
123 views

magento 2.3 why the deleted products still show at the dropdown of search box

I am using magento2.3 and porto theme why the deleted products still show at the dropdown of search box I have cleared all cache ,and clicked the following 5 cache:"Flush Magento Cache,Flush Cache ...
0
votes
0answers
92 views

Mysql query INSERT INTO “search_tmp…” never ends after mass attribute update in Magento 2.3.0 Causes Server overload and site down

MySQL query INSERT INTO “search_tmp…” never ends after mass attribute update in Magento 2.3.0 Causes Server overload and site down my mysql found this query very sluggish and slow, which is as ...
0
votes
2answers
216 views

Magento 2: Unable to unserialize value. Error: Control character error, possibly incorrectly encoded

I am getting Bellow Error when i try to search default Magento search https://temp.com/catalogsearch/result/?q=Hiper Unable to unserialize value. Error: Control character error, possibly incorrectly ...
0
votes
1answer
38 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.

1 2 3 4 5 13