Questions tagged [search]

Denotes questions related to the search engine on Magento.

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

Magento 2 - Search result not working properly on dropdown attribue

I have a dropdown attribute brand Use in Search is set to "Yes" Search Weight is set to 10, tried with 7 as well In configuration Search Engine is set to MySql There are more than 100 ...
0
votes
0answers
11 views

Magento 2.1.10 - Search Parameter including 'or' doesn't work

I am working on a Magento 2.1.10 project and we have a product called 'Double or Nothing' however if I enter 'double or nothing' in the search input field, I get no results. Interestingly, I can find ...
0
votes
0answers
17 views

Magento 2 DI creates two instances of a class and can't control which is one is being injected

I'm quite new to Magento 2 (.4.2) and I'm debugging some strange issue I'm having. We're facing an issue that it's impossible to sort the search results by relevance and looking at the code and ...
0
votes
0answers
17 views

magento2: custom search api using elastic search

How to create custom auto search API using elastic search to get intelligence search data. I have created a rest API but it's calling MySQL not elastic search. any help will be appreciated.
0
votes
0answers
9 views

pressed wrong letter and stucked

I have pressed the v and press enter by mistake and now the page is processing further. Can someone please guide me on how to fix this issue?
0
votes
1answer
20 views

Move element for mobile only

I use the Porto theme. My search bar is in the porto_header container. When I switch to mobile, I want the search to be in header_top. Is there any way to do this with the XML config, or do I have to ...
0
votes
1answer
57 views

Magento 2 search query Customization

I am facing an issue in search Magento 2.4. I want to change the search behavior For example: I search RP-4 then getting products that contained RP-4 string. Then I search RP4 result No record Found I ...
0
votes
0answers
19 views

Your search returned no results after search category or product in the search box error in Magento 2.4.0

As I am searching anything inside the search box like category name or product it is showing not results error in the Magento 2.4.0 version. Can you please how to resolve the issue quickly ?
0
votes
0answers
19 views

Catalog Search is not getting the Accurate Search Result Magento 2.3.5

In Magento 2.3.5 the catalog search result is not accurate i trying to get the accurate search result in the Frontend search. So i tried some ways Catalog reindex Removed the Unwanted attribute ...
1
vote
0answers
14 views

Magento 2.4.2 cacheable search results (past first page)

We have seen that Magento after first page (whenever there is a p request parameter) the code forcibly makes the page un-cacheable. Is there a reason for allowing the first page to be cached and not ...
0
votes
1answer
24 views

Products Disappearing From Search Results

Magento Version: v2.4.1-p1 Elasticsearch Version: v7.10 Products are disappearing from search results on our site. When reviewing the exception.log we are seeing the following error messages: main....
0
votes
0answers
3 views

Magento 2 | Add tier prices to filter advanced search

What I would like to do is filter the advanced search by requested quantity and price. Example: I would like 1000 pcs with a price of $ 0.70 and lower per piece. Is it possible to filter a similar ...
0
votes
1answer
10 views

Magento 2. Where is the catalog search ES index created?

Magento creates an index in ES for various search features. I'm interested where in the code is index created/updated/repopulated? I'm thinking some cron or indexer. I've looked in module-catalog-...
0
votes
0answers
23 views

How to make search results show by name

I am trying to get it so that once a user types in name of product the results will show in order by product name. I have already done Store > Configuration > Catalog > Product List sort by |...
0
votes
1answer
189 views

Magento 2.4.2 Elasticsearch Error: main.CRITICAL: {“error”:{“root_cause”:[{“type”:“query_shard_exception”,“reason”:"failed to create query

Elasticsearch not working with main.CRITICAL: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"failed to create query. I have ...
0
votes
1answer
21 views

Magento 2.4 Rest API need to show filters related search result

Following code fetch the products based on search keyword but the issue is filtering showing all instead of the search result page. I want filters should be shown only related to the search result ...
0
votes
0answers
16 views

Custom module sort and search filter not working

I've created a custom module. The sorting and search filter not working on the grid page. <arguments> <argument name="id" xsi:type="string">testGrid</argument> &...
0
votes
0answers
22 views

Frontend search versus backend search

We upgraded from Magento 1 to Magento 2.3. In M1 the search feature in the frontend could be quite broad, while the search in the backend (looking for a specific product to edit) was fairly narrow, (...
0
votes
1answer
43 views

Search Giving Error 500 Only On Certain Search Terms

Hoping someone can help. I'm running Magento 2.4.1, PHP 7.4 with Elasticsearch 7.10.2. I was using Mageplaza layered nav, but turned this off. Using Porto theme and a few other extensions which ...
0
votes
1answer
60 views

Remove Search By Keyword Box in admin grid

I have to remove this Search By Keyword box in customer grid. I overrided the customer_listing.xml but I dont know the syntax to disable it. <filterSearch name="fulltext"/> Do anyone ...
1
vote
1answer
48 views

Simplify Magento 2 search engine results

new to Magento 2 and this forum for now. In the company I work, we have a website on Magento 2.3.4, migrated from Magento 1 , and cause I know some English the boss here wants me to make some ...
1
vote
1answer
75 views

Magento 2 visibility “catalog” not saving in default store view

Magento 2 visibility "catalog" not saving in "default store view" but when store is "All store view" it is saving "catalog" but in default store view when ...
0
votes
0answers
38 views

Customization of quick search

My Magento version is 2.3 community, What I want to know is how can i detect a full text search not a combined one, Example - when I search the word Apollo plus I want it to show results only for ...
0
votes
1answer
28 views

Advance Search Not Working With Custom Atrtribute

I have modified the advance search form and added only my custom attributes in the form, I have created the Select input with the exact same values from product attributes like: <select name="...
0
votes
1answer
25 views

Make customer phone number searchable in admin

How would I make the customers phone number searchable in admin for orders. Either in main admin search or the search bar in sales order grid. I have a custom column with the customers phone number. ...
0
votes
0answers
38 views

Replace <div> of page with <div> comes from $.ajax response

Problem is written inside the success section. $.ajax({ url : 'path to file', dataType : 'json', type : 'POST', data: data, success : function(res) { // here I want ...
1
vote
1answer
79 views

Adding Customer Data in Elasticsearch

I want to Add All my customers Data in Elasticsearch Like Products and Category i want to where should i start and how i can map data Thank you
0
votes
2answers
526 views

Magento 2.4.1 disable Elasticsearch

I want to use Magento 2.4.1 in a shared server, the problem is that the shared server is not support Elasticsearch. Is there any way to can remove the Elasticsearch or to disable the entire search ...
0
votes
0answers
81 views

Magento 2.4.1 search, bulk action, paginition not working properly

I am having 3 problems on magento 2.4.1 Bulk action is in pending. I tried to run the command : php bin/magento cron:run , but it's not working. On catalog page pagination is not showing I am not ...
0
votes
1answer
23 views

How to add static pages in the Magento 2 search result?

I'm using a Magento 2.4 and in my project I have many static pages that I would like to be part of my search results. How could I add Magento 2 static pages in my search results?
0
votes
0answers
18 views

After installing Smile ElasticSuite suggestions doesn't have links

I installed elasticsuite by smile but after the installation suggestions below search bar are only list elements without any link. Do you know why this is happening?
0
votes
0answers
23 views

How to add search result page In all page as it 's magento 2

As per our requirement in magneto 2, User can search any item in site and get the result as per search and that's working fine. But that result stays and showing on all pages in magneto 2. If user ...
2
votes
2answers
74 views

Search Results not using the Product list interceptor class

I needed to make some changes to the product list in magento 2. So I went with this approach. Create a plugin on the Magento\Catalog\Block\Product\ListProduct::toHtml method and do my changes in ...
0
votes
0answers
64 views

Wrong Search Result for the API rest/default/V1/products in Magento 2.3.6

I have 3 websites and each has a store and store-view, the website one has the store_code: default, when I search for products while passing the store_code: default, the search result shows products ...
0
votes
0answers
19 views

Combine Layered Navigation and search by name

I am trying to add a searchbox on my category pages that my users can use to filter (by name) the products in category that they are looking at. It should also work with already existing filters that'...
0
votes
0answers
23 views

How to make shipping address custom dropdown attribute searchable

I have followed tutorials like mentioned in below links: https://www.mageplaza.com/devdocs/add-new-fields-address-form-magento-2.html https://www.fmeextensions.com/blog/add-custom-field-magento-2-...
1
vote
1answer
19 views

Show only filters in layered navigation for search results where all products have that filter populated

I am trying to implement this feature: the filters that are shown in the search results page are only visible if every products in that results page have the attribute linked with the filter populated....
0
votes
1answer
109 views

Magento 2 - Use search criteria to find configurable using attribute of their children

I have product X which is configurable. To product X I have assigned product Y and Z as simple ones. Both simple has attribute "Color". Now product Y has color: 123, product Z has color: 456....
3
votes
0answers
104 views

Magento 2 404 page is redirecting to catalog search page

Magento 2 404 page is redirecting to the catalog search page. Example- www.abc.com/test123 it will redirect to the 404 page but it is redirecting to www.abc.com/catalogsearch/result/?q=test123 How to ...
0
votes
1answer
537 views

Fulltext search throws “The bucket doesn't exist”

Reopening this discussion, as none of the found solutions worked. I have about 60 categories and subcategories, going down 4 levels deep. Number of products is irrelevant, this bug reproduces with 10 ...
0
votes
0answers
35 views

Magento 2 Elastic Search enable but not showing search results

Magento 2 enable elastic and the connection is successful but when search from the frontend it is not showing results Even our elastic search status is green and the index key is also generating Can ...
0
votes
1answer
27 views

How to set search page as home page

I would like to set search page /catalogsearch/result/AVMP as the home page. Anyone have any idea?
3
votes
2answers
940 views

Magento 2 Pagination not working on search results - Porto Theme

Pagination works when I navigate to a page, but when I search, it doesn't. This is inconvenient when there are 100 results, but when there are 1000+, eventually it just times out and throws a 524 ...
3
votes
2answers
668 views

Magento 2.4 - Search by SKU

I'm trying to figure out why Magento 2 Search is working that way. My products have SKUS like 111-222-333. When i'm trying to search by SKU, magento 2.4 returns a product collection of ther product ...
0
votes
0answers
5 views

Can I get whole categories (Item Types) as search results from my website's search bar?

Many visitors of my website search for categories instead of certain items on the search bar. However the store is not configured to show this type of results. What would be the way to define a number ...
0
votes
0answers
21 views

Magento 2 catalog search with apostrophe not working

When I search brand name like L'Occitane and Geather's the search result does not give me the exact result how can I achieve this ? Magento Version 2.3.6 and search engine Mysql
1
vote
0answers
59 views

Call to a member function getLoadedProductCollection() on boolean Search Query issue

im trying to separate the search query text from result.phtml and place it in its own template. So basically ill have the product collection in results.phtml, and then the search query text "your ...
0
votes
0answers
8 views

Show only assigned attribute options in advanced search form Magento 2

i am trying to change the advanced search form layout. I need the multiselect attributes to be shown as dropdown and only assigned options needed to show in it. First task sucessfully done by ...
0
votes
0answers
124 views

Magento 2 search 3 characters with hyphen not working

Magento 2 search 3 characters with hyphen not working Example - product SKU is 4-e - it gives lots of search results instead of related to 4-e results(not giving related with 4-e) there is no ...
2
votes
1answer
197 views

Magento 2 How to print SQL Query when user search from admin product grid

Magento 2.3.4 version using. Can we print SQL query when product search from admin product grid? i can print sql query in our custom or product collection in frontend using $collection->getSelect()-...

1
2 3 4 5
15