Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [catalogsearch]

Denotes questions related to the Magento catalog search engine

Filter by
Sorted by
Tagged with
1
vote
0answers
30 views

Sort search result products by attribute value in Magento 2

I want to sort the search result collection by product attribute value. Scenario: I have created a custom attribute called "product_category" as a drop down attribute. Which has the following ...
0
votes
0answers
18 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
9 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
16 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.
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).
0
votes
1answer
10 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
15 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 ...
2
votes
3answers
1k views

Magento 2 Search Rest API

I need to change the response of Search Rest API in Magento 2. Request:rest/V1/search?searchCriteria[requestName]=quick_search_container &searchCriteria[filterGroups][0][filters][0][field]=...
0
votes
1answer
860 views

Ignoring special characters during catalog search

I want to ignore special characters while catalog search. When a user enters any special character in the search box, the search shall find results for the combination both with and without special ...
2
votes
1answer
1k views

Magento 2 Catalog Search with Hyphen

All my skus have the following format: XY-NAME-NUMBER, e.g BC-FLUID-0003. Now when I try to search that sku via catalog search in the frontend, I get all kinds of results, much more than I'd like to ...
1
vote
1answer
721 views

Error on search result page

Help! I can't figure out what's wrong with this one. Every time I type a correct search term in quick search, this one shows http://www.umdistributors.com/sc/catalogsearch/result/?q=product Does ...
1
vote
1answer
1k views

Magento2: FullText Search Programatically

Does anyone know how to run a search using FullText and a string? I'm trying to inject use Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection as Fulltext; and do $this->_fulltext->...
0
votes
1answer
29 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
2answers
837 views

How to filter Mage::getResourceModel('catalogsearch/fulltext_collection') by custom attribute

I want to apply some custom filter on $collection = Mage::getResourceModel('catalogsearch/fulltext_collection') search collection. For this I have created a custom module and override ...
0
votes
0answers
8 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
30 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 ...
1
vote
1answer
132 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 ...
1
vote
1answer
1k views

Magento-2 How to get custom product collection in catalog search result based on particular category

I am working on custom module for catalog access. It requires only logged in customer to access the assigned category products. Right now in catalog search result, product collection displays all the ...
0
votes
1answer
20 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/...
1
vote
0answers
26 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/...
1
vote
1answer
1k views

Magento 2 catalog search full text reindex problem

I'm facing strange issue in my website. The products are not getting appeared if I reindex only flat and product related reindex. It requires catalogsearch_fulltext reindex. If I dont do catalog ...
6
votes
1answer
1k views

Magento 2: How to change Advanced Search from “AND” to “OR”?

I'm stuck with this situation: I have 2 select-type attributes: A and B for example In both of the attributes, I have the same list of Options (but they are different option ids) For example In ...
1
vote
1answer
2k views

Magento 2 Elasticsearch: Root mapping definition has unsupported

I am trying to setup elasticsearch 2.4.5 on a internal server and trying to use this for my EE 2.1.6 setup (magento installed in my local version). Following are the ES details. { "name" : "The ...
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 ...
1
vote
0answers
2k views

Modify magento 2 full-text catalog search and filters with my own set of products and filters

I have a set of SKUs which I want to display in the search result and the filters should be displayed according to my set of SKUs. For this I have override the Magento\Catalog\Model\Layer\Search ...
2
votes
1answer
963 views

Search catalog with less than 3 characters

What is the solution to be able to search Magento 2 catalog with less than three characters. This is what i have done so far from looking at Magento 1 info regarding this issue. Setting "Max Query ...
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 ...
1
vote
1answer
442 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. ...
2
votes
0answers
35 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 ...
1
vote
1answer
1k views

Magento 2 Layered Navigation on Advanced Search Result Page

I am able to enable 'Layered Navigation' on Catalog Search Result-Page "http://127.0.0.1/catalogsearch/result/index/" (see image below) by just enabling the storefront properties 'Use in Search ...
1
vote
1answer
1k views

Magento 2.2 : Search Functionality/Layered Navigation on a Custom Product Collection?

I use a custom product collection which is used on all category view pages (basically, instead of using Magento's collection, I wrote my own module with the custom collection to implement a cookie-...
5
votes
1answer
1k views

Magento2 search like searching using REST API

When using magento search REST API you can search with logical AND search http://devdocs.magento.com/guides/v2.0/howdoi/webapi/search-criteria.html#logical-and-search For example I want to search ...
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 ...
3
votes
2answers
2k views

Search category names in basic search and return matching products

I am associating my products with categories in Magento, and I'd like to modify the basic search so that products from category names that match the search query are included in the results. Is there ...
1
vote
0answers
12 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.
1
vote
1answer
282 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 ...
1
vote
0answers
30 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
2answers
110 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
0answers
79 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
1answer
682 views

Immense slow / hanging query when searching Magento 2

I am sorry that I can't supply more information. We have tried Mirasvit Ultimate Search but at one point it fills up and crashes, ruining the website layout. (I am in contact with Mirasvit and will ...
0
votes
0answers
44 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 ...
6
votes
2answers
4k views

How to modify the keyword search in magento

I have a list of 600 products in my store. When I use the quick search feautre of magento , it will display products that have the keywords. For example if I search for 'ck' it will display results ...
1
vote
2answers
4k views

Search Results: List categories and products

In magento, it is not possible to search for categories. Currently it shows only the products in the list. I need Categories and products in the search result. Search results for categories should ...
7
votes
1answer
2k views

Custom /catalogsearch/ filters

Beforehand I have to tell: I'm a total n00b on Magento and what I need to know is more a "common practice" or "standard" about how is something achieved in Magento, since I have to maintain (in record ...
0
votes
1answer
34 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
24 views

Magento2.1.9 - Catalogsearch pagination not work

When I'm searching by product name via mini search / advance search but the issue is toolbar.phtml not loading. I added block in catalogsearch_result_index.xml but not loading.
0
votes
1answer
714 views

Magento 2 EE elastic search module not enabled

I am running Magento 2.1.2 Enterprise Edition instance. I have installed and enabled elastic search on the same. When I click on TEST CONNECTION button it says Successful! Test Again? However 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
0
votes
1answer
45 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
33 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 != '') { ...