Questions tagged [catalogsearch]

Denotes questions related to the Magento catalog search engine

Filter by
Sorted by
Tagged with
0
votes
1answer
917 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 ...
0
votes
0answers
75 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 ...
2
votes
1answer
142 views
+200

Display out of stock products of specific category in list and search result page

I have enabled Show out of stock products in admin Inventory section. I have to show all in stock and out of stock products of one category(id=10 and its sub category) in list and search result page. ...
2
votes
1answer
141 views

Facing issue with elastic search in magento 2.3 cloud

I am facing an issue with elastic search. I can not able to reindex catalosearch_fulltext. [2019-05-06 11:54:08] report.CRITICAL: Notice: Undefined index: magento2_stg_product_1_v32 in /app/Staging/...
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->...
1
vote
0answers
16 views

Magento2 - Search synonyms doesn't work after changing search to AND from OR

I have changed the search AND and OR logic by following the link: [How do I change Magento 2 search from OR logic to AND? but now the search synonyms are not working. If I add synonyms: read,rid ...
0
votes
2answers
898 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 ...
1
vote
1answer
18 views

Magento2 - Get “Sort By” value in catalog search page

How get Sort By value Relevance in this page. Using $productListToolbar return only price, name, position value, but I need relevance. Attached the Screenshot here.
0
votes
0answers
13 views

Searching for parts with / and -

When searching for a product that includes a / and a - more than one result shows for the specific product that was searched. The actual product that needs to appear doesn't show till page 2 meaning ...
0
votes
0answers
21 views

Magnto2.2.4 - Search priority to search for particular attribute in query string

I have a requirement where If a particular attribute option - let's say 'red' which is an option for attribute 'colour', is present in the query string, then do a search looking for that attribute ...
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 & ...
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
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 ...
2
votes
5answers
128 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 ...
1
vote
1answer
2k 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 ...
2
votes
1answer
64 views

Add custom dropdown in mini Search magento 2

How to add this functionality any one can help me
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 ...
0
votes
1answer
48 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?
2
votes
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
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 ...
14
votes
1answer
5k views

Catalog Search: If only one result, show product view page insted of list view

My goal is to achieve the following modification in the Magento catalog search. When I search for a product and only one product is returned in the result collection, I want to display to product ...
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
38 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
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 ...
2
votes
1answer
1k 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 ...
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-...
0
votes
1answer
45 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
1answer
35 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 ...
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
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
27 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
27 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
2answers
224 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 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 ...
2
votes
2answers
440 views

Catalog Search Sorting Broken With Umlauts / Special Characters

There is a catalog search Magento bug in 1.9.3.0 - 1.9.3.4. You can reproduce it like that: Create a product with an umlaut in the name like "über". Search for the umlaut like "ü" in the frontend. ...
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")-...
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 ...
0
votes
1answer
823 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 ...
1
vote
0answers
103 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, ...
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 ...
6
votes
2answers
5k 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 ...
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
32 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.
1
vote
0answers
369 views

Magento-2 How to exclude category products from catalog search results

I need to change catalog search product results collection, exclude some categories from catalog search results. Anyone know how to apply category filters in search results. Thanks
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 ...
1
vote
2answers
55 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
31 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
15 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
33 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 ...

1 2 3 4 5 13