Questions tagged [search]

Denotes questions related to the search engine on Magento.

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

Where is the product search call in magento 1?

I want to modify product search magento 1 , but i am not able to find the search call in magento 1 files , please let me know if anybody knows it or how to find it ? Thanks
0
votes
0answers
4 views

How to set clickAnalytics=true as an extra search parameter in magento 1?

I want to pass an extra parameter to search , this is the only way i can get query id in search response for agolia. Let me know your thoughts this , thanks.
0
votes
0answers
7 views

Collapsed search box implementation magento 1

How to implement when clicking on the search icon collapse left input for search closed open in the file header.phtml exist method <?php echo $this->getChildHtml('topSearch') ?>
0
votes
0answers
10 views

Error running indexing Magento 2.3.4

Error while running indexing Notice: Undefined offset: 1 in vendor/magento/module-catalog-search/Model/Indexer/Fulltext/Action/Full.php on line 382 php 7.3 And sites search also leads to same error.
0
votes
1answer
37 views

Add code to a method without edit Magento core file

I'm in this condition: Magento 2.3.4 with Elasticsuite installed and I want to customize the search box so when #search get focus the page get darker adding a <div class"blury"></div>. I ...
1
vote
0answers
16 views

Magento 2 Search - how to show result when customer search for a SKU with prefix and suffix? EX: AA-SKU1234

Is there a way to return result for 'SKU', if the customer search for the term like 'AA-SKU2033'? Currently, our product has the following format on the actual product sticker 'AA-SKU2033' 'AA-' is ...
0
votes
1answer
21 views

How to avoid custom column in search collection filter?

How to avoid custom column in search collection filter? Column not found: 1054 Unknown column 'show_in_custom_assistance' in 'where clause', $collection = $this->_autoSearchCollection->...
0
votes
0answers
25 views

Categories are not showing in autocomplete search smile elastic suite magento2

We have installed a smile elastic suite on the server instance successfully. We have followed the documentation and did the setup but in autocomplete search results categories are not showing using a ...
0
votes
0answers
9 views

Magento2 how to create custom API for Search Term?

I want to create a custom module for creating API for search Term. Like if a user will type "test" in the search box in the frontend, I can able to get that term "test" in my API. I am unable to get ...
0
votes
0answers
23 views

How to add custom filed/table for search in elastic search autocomplete in magento2?

How to add my custom table content in elastic-search autocomplete.
0
votes
0answers
19 views

Magento 2 : Parent product in result on searching child product sku

I am using magento version 2.3.3 My requirement is when i search with child product sku (which is visibility none) so parent (configure) product show in search result For example Parent product ...
0
votes
0answers
13 views

4472 Segmentation fault searchd --config fake.conf 2>&1

I have a problem with my Sphinx Search Engine. I'm running store on Magento 2.2 platform and durring reindex I getting an error like in topic. After some debuging i found that the external module try ...
0
votes
0answers
12 views

Magento 2 Search Weight

Hi I am using the latest Magento Enterprise edition. Is it possible to adjust the maximum search weight of the catalog attribute to 20? Currently the attribute's maximum search weight is 10.
1
vote
0answers
37 views

Search by SKU not working in magento 2.3

I am facing some problems while searching with SKU in the catalog search. I have already turned on "Use in Search" and "Visible in Advanced Search" fields for SKU product attribute. However, when I ...
1
vote
0answers
41 views

Problems with Magento 2.3.4 and Elasticsearch

I am having an issue with my company's test site's Elasticsearch. Every time I try to do a reindex, the Catalog Search has the following error: Catalog Search indexer process unknown error: {"error":...
1
vote
0answers
20 views

How to get Aggregations in ProductCollection

I'm customizing graphql with query Product(). Instead of using searchCriteria to build searchRequest, i customed query graphql and used productCollection to build searchRequest. I see, the ...
0
votes
0answers
16 views

Magento2 call WebPixel module after Algolia module

I have facing issue when 2 modules are overriding the same core Module \Magento\CatalogSearch\Model\Layer\Filter\Attribute Both are extending same file. In Webpixel WeltPixel\LayeredNavigation\...
0
votes
0answers
19 views

I am unable to add google search console link in html head

I am unable to add search console link to my website, please some help, following is the error that it shows, Something went wrong while saving this configuration: Area is already set Thanks in ...
0
votes
0answers
12 views

Magento 1.9 - Is it recommend same image label for all images in single product?

1) I just applied same image label for all images in single product, how google image search takes my images, or 2) Is it worth image name save as product name like productname.jpg, is it google ...
0
votes
0answers
14 views

Need Search functionality in Customer Account Dashboard

I would like to know if a search function exists that makes search in the customer account dashboard possible. My customers want to search within orders and within quotes. Search for content at order ...
1
vote
0answers
60 views

Magento 2 How to allow special characters like “/” in catalog search?

Using Magento 2.3, I have 3,000 products that are fittings for a plumbing warehouse. Currently, it is impossible to search for a fitting that is 1/2" or 3/4". How do I allow special characters like "...
0
votes
0answers
17 views

Configurable Product created with existing SKUs won't let users add to cart?

For background, I had 16 existing SKUs that were essentially the same product but in different sizes (Industrial burs, with different sized heads). They all have their own individual product pages, ...
1
vote
1answer
50 views

Magento2 - Search preview not showing up

I have a custom template file in which I am trying to call search block as showing up in header. In header the search is rendering through <?php echo $this->getChildHtml("topSearch"); ?> ...
1
vote
1answer
17 views

can not create plugin for elasticSearch

Tring to create Plugin for elasticSearch resolve function <?php namespace Devall\ElasticsearchPlugin\Plugin\Checkout\Controller; use Magento\Elasticsearch\Model\ResourceModel\Fulltext\Collection\...
0
votes
1answer
20 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
33 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
25 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
44 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
14 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
15 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
30 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
45 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
40 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
25 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
32 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
73 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
18 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
35 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
28 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
34 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
41 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
219 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
48 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
110 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
8 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
73 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
12 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
13 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:...

1
2 3 4 5
14