Questions tagged [search]

Denotes questions related to the search engine on Magento.

Filter by
Sorted by
Tagged with
0
votes
1answer
14 views

Magento2 - Searching and filtering products in admin panel, horrifically poor performance. Does this not get Indexed?

In the admin panel product tab, is their anyway to increase the performance of searching and filtering? I have a huge number of products, and it takes at least 45 seconds minimum to get any response. ...
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
1answer
30 views

Magento 2: How to add OR condition b/w 2 AND conditions in Searchcriteria

I have a requirement where I found the list of specific orders according to the filtered conditions. I need to create a searchCriteria which I can pass to $this->orderRepository->getList($...
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
1answer
22 views

Magento 2: Disable search by SKU storefront

I would like disable the storefront search by SKU. I changed but it still shows results by sku. Any idea?
1
vote
1answer
25 views

dockergento amasty elasticsearch can't find products

I thought it was a problem of elasticsearch version, updated it still same error, tried reindexes and so on... on admin page everything seems to be fine anchor->yes and so on. used that link looked ...
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
0answers
13 views

magento 2 backend order grid search

While trying to look for orders in the backend and using the search function on the sales order grid i noticed that the search function can only find an order when searching for the full field. for ...
0
votes
0answers
27 views

Magento1.9 Out of Stock Products in Search Results

One of my customers wants to search for products which are out of stock. Is this somehow possible without using any search extension like elastic search or something like that? Maybe with a ...
0
votes
1answer
27 views

Magento2 Search Query

I have faced the problem in using Magento2 with search result commonly search based on SKU but I want to search product using the name of the product so I want to change the search query in Magento2 ...
1
vote
1answer
30 views

How to add a date column in Search Terms Grid Magento 2.3

I need to add the updated_at date column in the Magento search term grid. the field is presented in the search_query table. I'm trying to override layout vendor/magento/module-search/view/adminhtml/...
0
votes
2answers
19 views

Sorting repository by more than one attribute

I want to sort a repository by more than one attribute. Any ideas of how to achieve this? What I have so far is this: public function getLatestPosts() { return $this->postRepository ->...
0
votes
1answer
20 views

How to get the customer ID for search query?

I want to collect the customer based search query in Magento 2. In the database, I can see the table, search_query but in the table I can't see the customer ID field. In order to get the customer ...
0
votes
1answer
44 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 ...
1
vote
0answers
11 views

Magento 2 - Add Product Search functionality using Ajax in Custom Admin Form

I had created an admin form in Magento 2. I had taken a text field for the product search. I want to search for a product by entering Product Name / SKU / ID in the text field. How could I do it? I ...
0
votes
0answers
25 views

page links do not work properly

Some pages began to work incorrectly. If I follow the site.com/privacy-policy It redirects me to site.com/search/privacy%20policy?amnoroute tell me how to fix <?php return [ 'modules' =>...
0
votes
0answers
25 views

limit the number of search attempts

Is there a way to limit the number of searches in Magento 1 for a test amount of time? We had a bot that was doing searches every second for a few hours which affected the site loading. Any help ...
1
vote
0answers
30 views

Magento 2 - Category filter on custom search page

I have custom search page that is working perfectly and all the filters are applying properly except category filter. Following is the code: $indices = $this->searchResult->getIndices(); ...
0
votes
1answer
39 views

Unable to display a Google Sitelinks Search Box for my site

I have added below code in my homepage <![CDATA[ <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "...
1
vote
0answers
95 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, ...
2
votes
0answers
29 views

Magento 2.3 OpenSource - How to implement Stopwords in ElasticSearch 6.x

Having custom module dependency injection as follows: di.xml in app/code/Custom/Stopwords/etc directory. <type name="Magento\Elasticsearch\SearchAdapter\Query\Preprocessor\Stopwords"> <...
1
vote
1answer
57 views

magento 2 setFilterGroups is not working of custom module SearchCriteriaBuilder

I have a build service contact on an entity of custom module And it has 3 fields like pk,order_id.order_item. And When try to apply setFilterGroups on SearchCriteria getting Error. Uncaught ...
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
29 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
0answers
11 views

correlation name 'search_index' more than once

I am using third party search engine module Sphinx Search Ultimate https://mirasvit.com/magento-2-extensions/sphinx-search-ultimate.html when i am click on any category then it give error You ...
1
vote
0answers
12 views

Set Magento 2 search terms to no index no follow

I forgot to edit my robot.txt so over 500 search terms are index by google. I set op my robot.txt now like this: User-agent: * # Directories Disallow: /app/ Disallow: /bin/ Disallow: /dev/ Disallow:...
2
votes
1answer
29 views

What happens when Elasticsearch is restarted with Magento 2.3.x

May seem like a simple question, but what are all of the impacts when ElasticSearch is restarted in a running Magento 2.3.x store? Do indexes need to be reindexed? Any other items that have to be ...
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 ...
1
vote
1answer
251 views

Magento 2.3.3 main.ERROR: {“error”:{“root_cause”:[{“type”:“query_shard_exception”,“reason”:" No mapping found for ['attribute'] in order to sort on

I have just upgraded to Magento ver. 2.3.3 (from 2.2.8) with Elasticsearch and I am having an issue with my custom module regarding the sort by options. Elasticsearch information: { "name" : "...
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
61 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
32 views

Magento 2 - Catalog Search Indexer DB problem

I have a problem with my Catalog Search Indexer. I reindex all indexes by using php bin/magento indexer:reindex command but when indexer starts reindex catalog search process then I have an error that ...
0
votes
0answers
39 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.
1
vote
1answer
24 views

Magento2.3: How to customise the default search design in home page?

I want to customise the default search button in home page. We have the search as below screenshot and want to do that if we click the search icon it should open the input box below the search icon. ...
0
votes
1answer
43 views

Ajax search suggestions don't work

I want to search by SKU but suggestions don't appear. For example, most SKU start by "600", the ajax request made by Magento 2.x is: search/ajax/suggest/?q=600&_=1571930826272 The result is ...
0
votes
0answers
24 views

Magento 2 Custom Module grid search not working

I have created a custom module in Magento 2, but its grid search is not working. I tried to search one keyword but it keeps loading. here is my code. <?xml version="1.0" encoding="UTF-8"?> <...
0
votes
0answers
14 views

Pagination for search not returning with /catalogsearch/result/

Running Magento 2 and when someone searches the results are fine but the Pagination returns With Other pages ie; /?cat=&p=2&q=+Masks not /catalogsearch/result/?cat=&p=2&q=+Masks ...
0
votes
0answers
14 views

product collection result overriding by other module

I have two 3rd party modules one groupCat module which filters out the product collection to display customers based on customer groups. another module is the search module which fetches all products ...
0
votes
1answer
42 views

How to edit default search in Magento 2?

I want to edit default search bar in Magento 2. What I would like to have is to display the search icon and when the customer clicks the icon I want to show the search bar. To do that, where to ...
1
vote
1answer
79 views

Magento 2 - Get search query without temporary or virtual table

I was trying to debug the search query. Temporarily I changed the _getProductCollection method in vendor/magento/module-catalog-search/Block/Result.php . I notice the query string contains some ...
1
vote
0answers
46 views

magento 1.9.4.2 problem with search, server crashes

I have problem witch search on my Magento When I start a search for the word "hard drives", for some reason my server crashes. But if I search by some other keywords, everything works well what ...
2
votes
1answer
535 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
0answers
27 views

Magento 2: Products not showing in search but in catalog is ok

I have a problem with my catalog. Products are visible in catalog category view pages (I can do any action - add to cart, buy...) but when I want to search any product then not showing in search ...
2
votes
1answer
150 views

Magento 2 Reindex error: snapshot in progress

I'm using Magento 2.3 with cloud ElasticSearch and sometimes reindex cron gives the following error [2019-09-18 19:24:13] main.ERROR: Cron Job indexer_reindex_all_invalid has an error: {"error":{"...
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
26 views

Magento 2 How to add filter Search on Inventory Grid

Here I want to add Search on Inventory, here I overridden the inventory but i cant able add search filter in Block. like this image Cant I get help? Thank you in advance.
1
vote
1answer
34 views

Search bar giving results like query

Search results for specific words like "to" , "toy" giving results in suggestion like query.
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
10 views

Examples of magento 1 modules that works with 3-rd party API

Recently I started to work with Magento 1, so want to learn how to do things right. Now I have some task - search through 3-rd party API (I am interesting how Magento works with another API, not own ...
0
votes
1answer
50 views

Add class when search results into no products in magento 2.3

I want to add one css class when on search of a particular product we does not get any result see https://prnt.sc/oyh8h9 and https://prnt.sc/oyh90w. I want to add class in footer block based on the ...

1 2 3 4 5 13