Questions tagged [search]

Denotes questions related to the search engine on Magento.

Filter by
Sorted by
Tagged with
2
votes
1answer
33 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()-...
0
votes
0answers
25 views

Cannot move the search bar after the logo

I want to move the search bar right after the logo and sign-in, and sign-up link next to search bar. I have used the below instruction in my theme xml file but its not working. <move element="...
0
votes
0answers
18 views

Magento 2.4 Search results mostly broken

When I search for a product or SKU, I see a dropdown with the top few products (using Mirasvit plugin), and if I click on a product, it goes straight there. However, if I hit return to see the full ...
3
votes
0answers
36 views

Add search functionality in admin for select

Hi I want to add search functionality in select box in admin form. screenshot: https://nimb.ws/Rj5osS , anyone had any idea? I have this code which creates the field: $baseFieldset->addField( ...
-1
votes
1answer
24 views

Magento 2 Search, result of search should must be searched product first than relevant product

I want the search result to be more accurate when I search a product actual product is result on 3rd page I want searched product result first then all remaining relevant products example when i ...
0
votes
0answers
27 views

Filters are missed in Admin Panel

For some reason filters in Admin Panel are missed. I tried to debug it but it is without any result. Can someone say where this collection is prepared or maybe why is it happens?
0
votes
2answers
34 views

Filter is not working on Custom Values in Magento 2 Order?

I have save my custom data in quote and sales_order table and show data in Admin grid but filter is not working in this as it is search in sales_order_grid table in Magento 2. I have found out a ...
0
votes
0answers
8 views

Disable search by URL GET

Magento2 if i got to mywebsite.it/searchterms Magento2 will open a connection in the db and search the product. I would like to disable this feature because has been used on a DDOS attack. How can i ...
0
votes
1answer
32 views

Magento 2 catalog search not working when letters combine with numbers

Magento 2.3.5-p1 version Suppose the product name is "Super M2" when we search "m2" then it is not showing results on the search page but when the product name is "Super M21&...
0
votes
0answers
14 views

Adding Search Console to Magento 2.3.3

I have a client who is designated owner in Search Console. We are trying to get him verified, BUT adding code in Magento does not work. We were trying to add the code via Content -> Configuration -&...
0
votes
1answer
18 views

Apply Filter not working on Magento 2 for custom column Sales Order

I have save my custom data in quote and sales_order table and show data in Admin grid but filter is not working in this as it is search in sales_order_grid table in Magento 2. my view/adminhtml/...
0
votes
0answers
8 views

Advanced Search Amending Base URL

Using the base URL variable {{config path="web/unsecure/base_url"}} on advanced search page (url/catalogsearch/advanced?) seems to display different results based on whether the variable is ...
0
votes
0answers
5 views

Paginate using API

I'm currently workking with PageSize and searchCriteria for filtering results, is there any endpoint to know exactly how much items are for any type? I mean, know for example how much users or ...
0
votes
0answers
6 views

Show image configurable product when search by size

When I search one product and filter by size in the search... the result not show the image of the product. So ¿its mandatory to add image for all size of product? What can I do so that when an ...
0
votes
1answer
43 views

Is it possible to use Magento 2.4 with Elasticsearch 6?

I know that Elasticsearch 6 is deprecated and we're supposed to use 7.6 or above, but I just went through the process of updating, only to find that my host (Cloudways) doesn't provide access to ...
0
votes
0answers
15 views

Magento 2: is it possible to automatically synonyms word get from product?

I do not want to add any search synonyms word or group here Marketing > SEO & Search > Search Synonyms. but synonyms word or group get from products. Is it possible automatically search ...
0
votes
1answer
45 views

Elasticsearch: Does search in frontend work that way?

I thought my Elasticsearch is configured correctly. 'Test connection' in the admin panel is successful and the quick search there shows many entries as dropdown, as you can see in the screenshot below....
0
votes
0answers
65 views

Magento2 Wrong Search Results

im having some issues using Magento2 search engine. Im using Magento 2.3.4 and have setup only the name (weight 10), meta-title (weight 5) and sku (Weight 1) as searchable. Im having for example ...
0
votes
0answers
22 views

How do I get search results from all stores in a multi store magento2 setup?

I have two stores setup in my magento 2.3.4 website. I need the search results to show results from both stores. Any ideas on how this can be achieved ?
0
votes
0answers
21 views

Results from search in Magento 2 relevance not correct

I've the problem that the results from an search query on frontend are in the wrong relevance. It is on an live webshop. For example, when i search 'Philips' or 'Grohe', the first product is in both ...
0
votes
0answers
42 views

INSERT INTO “search_tmp…” very slow with custom attributes

l've a problem with filter. I've 3 custom filter ( pietre , materiali , inspiration ); When select Category , Pietre and Materiali , query that populates search_tmp finish at least in 1 minute. Query ...
0
votes
1answer
48 views

Magento 2: Get Product stock quantity details in Rest API

Need to get Product stock quantity in products details using Rest API. Method: GET Using API URL: http://127.0.0.1/jaipurart/rest/V1/products?searchCriteria[filter_groups][0][filters][0][field]=name&...
1
vote
1answer
23 views

I need to set the 'OR' condtion for last where clause but it is setting as AND how can change in magento 2.3

SQL need to change AND condtion to OR in below code public function getOrders() { $po_number = "%"."A"."%"; if (!($customerId = $this->...
0
votes
0answers
15 views

Search Bar is not showing on main page in mobile but works fine the rest of the site

MOBILE ISSUE The website is www.Storksplows.com when clicking the magnifying glass nothing appears on the home page. I feel like something is covering it because the keyboard appears and if you type ...
0
votes
1answer
27 views

I need to create a search bar on sales order view page in customer login magento 2.3

I need to search and filter the orders in sales order page customer side as like admin side also need the search box. But i can't find any related documentations or solutions. whether this can do in ...
1
vote
1answer
22 views

Different locations for search bar depending on width

I have a problem regarding the block moving with XML. I moved the search-bar with <move element="top.search" destination="catalog.topnav" after="-"/> which is ...
1
vote
1answer
30 views

Magento 2: Search Result inappropriate

I am using Magento 2.3.3 in which I have products with name like DR. Aqua guard. Whenever Customer search using a query like "DR." It showing result from product name contains "DR" ...
1
vote
1answer
16 views

magento grid search is not triggered if both search term and filters unchanged

In magento grid setting, by default the search request call (ajax call) is not triggered if search term and filter remain unchanged since last search. How can I force it to send out search request ...
1
vote
0answers
17 views

How to configure ElasticSearch to consider accents?

I'm using ElasticSearch 6 and Magento 2.3, and when I search Hélicopter it does not return the products Helicopter without the accent. I found this possible solution saying to change the 'term' query ...
2
votes
1answer
117 views

Magento 2: How to remove “Did you mean” section from search page?

I am using Elasticsearch as search engine, but I want to hide the section where it says Did you mean and Related search terms: Is there a way to do this? Thanks in advance
1
vote
1answer
84 views

Magento 2.3.5 - Limit max search results

Is there a way to set a max number of search results, so it only shows max 500 producs? At the moment the search results can contain every single product, so the entire catalog, which is unnecessary a ...
0
votes
1answer
19 views

Strip space from frontend search query

my task at my work is that i remove spaces from a frontend sku search (the one at top and the one after hitting enter). All sku's are formatted like AB 100001234, regexe and so on is ready to go. If ...
0
votes
0answers
15 views

Magento2 auto search suggestion display issue

Magento2 auto suggestion search result showing special characters any solution? https://i.imgur.com/o2qQboy.png
0
votes
1answer
11 views

Can we block Search Engine crawlers from indexing system URLs

Can we block access for Search Engine Crawlers to all system URLs. I know we can do this by adding rules to robots.txt. But can we also achieve this on the server level (Nginx) Thnx, and Kind ...
0
votes
0answers
23 views

add custom filters in search results in Magento 2.3

I want to override or add a custom filter in search results, for this I override ListProduct, all seams working fine, except the pagination and left navigation do not reflect the filter here is my ...
0
votes
1answer
17 views

Why admin page Search terms redirect to login?

I'm using Magento 2.3 with ElasticSearch 6, I have 20k different searches per day. I can see the top search terms in my Dashboard, but when I access the page Marketing > SEO & Search > Search ...
0
votes
0answers
17 views

Identify current page magento 1

I am trying to identify search result page in magento 1 js file Any idea how to get it? Thanks
0
votes
0answers
8 views

Trigger event , when product comes from search

I want to trigger Product Viewed event , when product is viewed , but only for the product that comes from search results. Any idea how to achieve this ? Thank.
0
votes
1answer
27 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
5 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
9 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
12 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
48 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
22 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
23 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
144 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
11 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
31 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.
1
vote
0answers
46 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
15 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 ...

1
2 3 4 5
14