Magento 1.3.x Quick Search problem - magento

We have built a website http://www.goshopping.pk/ (sorry had to post the link as its important for this question).
The quick search is not working as it should. For example, search "Nokia" and you will get all sorts of results. Search "Dell" and you get the same results. However, searching exact matches like "nokia 6600" or "Intel Core 2 DUO" or "Dell Inspiron" works perfectly fine.
We have rebuilt the search index, emptied the cache etc but it has no effect. What are we missing?
Help appreciated. Thanks!

One quick tip I normally advise people is to remove the description from quick search results in Catalog > Manage Attributes > Attributes
Obviously the description contains all sorts of words and can dilute search results. See if that improves anything.
Also in Configuration > Catalog I normally change the Search Type to Fulltext for more accurate results.

Based on the suggestion from Adam, we were able to resolve this. Here is what we did if anyone needs future reference:
We had about 400 attributes defined and a lot of them were set to search in quick search by our client. What we did is we manually ran a query via phpmyadmin for table "eav_attribute" and updated ALL records to have is_searchable=0
We then manually edited the title and description record in eav_attribute table to is_searchable=1
Rebuilt the search index via Mage Admin and all was good.
Best,
K

Related

how to get most popular results first in elastic-search

I'm learning elastic search,
I wanted to ask if there is any way to get most searched results first,
like:
by altering the documents and updating a value of em with scores,
using some kind of formula or something else
thanks community :)
You don't have that out of the box but you can indeed modify a document and increase the number of views when a user clicks on a result then use that field as part of the score (function_score might help for this).

GSA report with 'Searches that returned results' and 'Searches that did not return results'

I am using GSA 7.2, In GSA Search Report It have two Report types
Searches that returned results
Searches that did not return results
what is difference between this types?
I tried Last week Search Report with both types, I am getting few same Keywords and Queries in Both Report types with different Occurrences count. Here my question is if GSA is showing result for some Keywords and Queries then It should not show in without result type, May be my Understanding is wrong, Please correct me.
Thank you for help
Looks like this issue is there for a long time.
Check this out. Not sure whether it is fixed or not, better check with google support.
BTW, Do you have user specific search (Role based search)? If so, just try to search using same term for all user/role and see any user/role gets zero results.
When you run the reports, are you restricting the search to a specific collection and/or time range?
If you run a report for "All Collections" then you might see items show in both reports because users are searching against a collection that does not have the documents.
What you'd want to do is run a report for a single day. If you see the same behavior for a single collection then download the search logs for that day and look for searches for that key term and see if the search query parameters are the same. If they are different then there could be some malformed search queries being executed. If not then it could be a transient issue with the GSA.

Why Solr search is giving zero values in this case

I've got this problem that I can't solve. Partly because I can't explain it with the right terms. I'm new to this so sorry for this clumsy question.
Below you can see an overview of my goal.
I'm using Magento CE 1.7.0.2 & Solr 4.6.0.
Here you can see my goal..
http://127.0.0.1:8055/solr/collection1/select?q="mens+jeans"&indent=true&defType=dismax&pf=fulltext&qs=2
In this case its giving exact products But if i'm searching with jeans mens means its giving zero products.
http://127.0.0.1:8055/solr/collection1/select?q="jeans+mens"&indent=true&defType=dismax&pf=fulltext&qs=2
But i want to get same products for the both cases...
Any Ideas ?
It depends on you have indexed your docs (like Denis wrote at the comment) or it also could depends on your default searching settings.
For example: If all your queries are executed as a phrase-search, so it could be the situation, that your text contains mens ... jeans but never jeans ...mens
You should use an tokenizer and try to use the same field-settings for index- and search-time.
Looking at you solr-webpage you, probably, can use this link: http://127.0.0.1:8055/solr/#/collection1/analysis There you can see, how solr handles the different kind of queries.
This "Analysis"-Feature helps to optimize the field-settings for index- and search-time.

Apache SOLR sort order

I'm using apache solr search in shop based on magento enterprise.
I have some hard problem, and I can't solve it by myself. if some who have solr expirience please help me;)
Solr search is pretty good and it works fine, but I have issue about sorting search results.
I can explain it by example:
We search product by query ex. "HP-118",
and we receive response with ex. 40 products.
In this order "HP-118 LaserJet", "HP-118 DescJet", "HP-118 box case", "Simple thing for HP-118", "Another simple thing for HP-118", "HP-118 BoxJet" etc...
And my problem is in last product in example.
I need to see products that have search query at the begining together..
ex. "HP-118 LaserJet", "HP-118 DescJet", "HP-118 box case","HP-118 BoxJet", "Simple thing for HP-118", "Another simple thing for HP-118"
Thanks for any help !
It all comes to score value (unless you explicitly set other sort order). To check why your results are returned in this order you can do few things:
Read http://wiki.apache.org/solr/SolrRelevancyFAQ
Add score to returned fields, so you can see difference etc. (and score to fl parameters)
Turn on the debug mode in responces (add &debugQuery=on parameter to request)
Study the debug, it will tell you why given result is scored with the value X
I hope that you will find the answer in the debug.
There are ways to boost specific fields, but to help with this you would need to specify more info.

Sharepoint 2010: Full text plus faceted search over an External Content List using Search Services (or possibly FAST)

I have an External List over a products table in our database. I want to be able to build a search form over it via a full text search; in addition to being able to filter down on properties on my initial search.
For example, say I'm looking for DVDs under 10.00 in product DB. I want to be able to have a search box where I enter "DVD OR Movie", but I also want to be able to have a price box where I could enter a max price of 9.99.
My impressions of SP2010 search solutions is that its easy enough to perform a full text search over an EL with Search Services, but at the same time being able to filter down by additional attributes doesn't appear to be possible out of the box. I know with FAST, I can do a full text search; then filter down the results on the result page via each item's properties. However, we're building custom functionality on the results page allowing users to add an item from the search result set to another list; so I can't use Search Services or FAST's results page.
I'm thinking my best bet is CAML; but my readings on the subject lead my to believe CAML doesn't support full text search. I could also try LinqToSharepoint; but that doesn't support full text search either.
Given my circumstances, do I have any other options besides CAML or Linq? Any constructive input is greatly appreciated.
Thanks,
Frank
On solution is to use the FAST FSIS product. This is the full version of FAST. It will require some extra configuration to index the data in the way you want. That version of FAST will allow you to explicitly define your fields.

Resources