we are having an issue with Magento search were it only returns a few of the many results it should. I have one search term where it returns 2 results but in the table catalogsearch_result, there are 44 records for the search term.
I'm not sure where to look to resolve this. Has anyone else seen this issue before or know where to look?
I've got caching disabled and have cleared and reindexed the search index.
Thanks
We've determined the issue a bug in Magento.
If you have a product in multiple categories and one of the categories has permissions set to not display to the group of the user, then the product won't display in any search results.
Try changing the Search Type in Admin -> System -> Configuration -> Catalog -> Catalog Search. Try changing it from Like to Fulltext or vice-versa.
How about the advanced search, does that return the same number of results? If so, it is a configuration/indexing/caching issue. If not, you should check your installed modules in case one of them is hijacking the search functionality.
Related
I am new to magento. i am have one problem , i have to modify search terms insert query. but i am not able to find it in magento. i am using magento 1.8 version. so if any one have any idea please share. one more thing, if i have to add more field in search query. where and which file i have to modify. please mention the path for files.
In this file remove save code and update your query.
/app/code/core/Mage/CatalogSearch/controllers/ResultController.php
I worked on this and it is live now. Please have a look at it. The problem is that the category named "Carbide rod" is not assigned to that "PCD inserts" category. But still showing. I don't know whats the problem in it. Please help me on it.
You probably have enabled flat tables to be used on front, which is generally a good idea. The thing to remember, though, is to perform a Category Flat Data re-index in Admin Panel. Go to System > Index Management and do a reindex of Category Flat Data.
Next you should Flush Cache Storage at System > Cache Management.
If that won't help, then check how your category tree looks on a Store View level. Magento allows to have different category trees for each store view.
Carbide rods category is not displayed under PCD inserts, whats your question exactly I'm not getting it.
My website is http://www.godaam.com. I want to improve my search functionality. I did some changes in magento app code, but I am not able to improve it a lot. Is there any free search engine for my product I can incorporate in Magento, please help me out here?
The magento built-in search is pretty good and you just need to tweak the settings. Do this:
Make sure only the attributes such as SKU, Title, Description and Quick Description are enabled for searching (unless you need others like color etc needed)
Tweak search settings in System > Configuration > Catalog > Catalog Search.
Rebuild the indexes and test it out.
In my experience FULLTEXT search returns more relevant results in comparison to "LIKE" or the "COMBINED" option.
One of the features lacking most from Magento's search is refinement. If you search for multiple terms, it will return a bigger set of products rather than smaller. Our free extension fixes that, just a note: in order for it to work you must set the search config settings to LIKE and not FULLTEXT:
Catalog Search Refinement FREE
I am working on a Magento site, and i would like to edit the default search result.
Editing search result is not editing the appearance of search result but the actual search results generated.
The idea is, if the Magento search does not return any value then i need to do a search in my custom table to fetch some relative products.
Could anyone help me to edit the default Magento search??
Thanks a lot in advance.
You will need to modify some of the models in catalogsearch module, this link has a good explanation of how to override Core classes. In your case you will need to add your logic somewhere in the Query model or its resource or collection models.
This CMS Search extension will provide an excellent example of how to extend the default search. It adds extra content into the search index and allows you to control how those results are presented to the searcher.
I have this problem with magento 1.4.1.1, when I delete a product it won't decrease the amount of products in the category tree view. I found out that magento is not deleting the entry from the "catalog_category_product" table.
Can anyone think of a reason why this is happening? I'm trying to search the core where this function is being called (removing that row from the db) but I can't find it.
Help would be highly appreciated.
Refresh the Index (System > Index Management) and all should be set