an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Search Problem and bug - It fails when searchin...
Last Post 8/23/2010 12:37:35 PM By Bahram. 25 replies.
Page 3 of 3 (26 posts) << First < Prev 1 2 3 Next > Last >> 
8/19/2010 3:26:45 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Search Problem and bug - It fails when searching phrases containing one numeric character
As of our current version shown via one of our demo site, it works just fine  http://bookstore.dotarrowsite.com/Search.aspx?q="smartreader 7".
DotShoppingCart Staff
8/19/2010 3:51:54 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Search Problem and bug - It fails when searching phrases containing one numeric character
 
Do you have hundreds of entries like smartreade 1, smartreader 2 ...... Do a simple test :
add another shoe and name it smartreader 2 and another name it smartreader 70
 
Then search for 'smartreader 7' and you see 3 results then look for 'smartreader 70' and you will get one.
 
 
8/20/2010 11:19:51 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Search Problem - It is not doing Exact search
 Look Luke,
 
When you have one and only one  product then exact and free search have the same result, Just one!
 
I looked and debugged your SP_searchProduct SQL scripts:
 
you are using FORMSOF(INFLECTIONAL, keyword) predicate which returns all variations of the keyword
WHERE CONTAINS(p.*,'FORMSOF(INFLECTIONAL, "%keyword%")')
 
The exact search predicate is LIKE and it be used this way :
WHERE p.productName LIKE '%keyword%'
 
 
You can make this as an option on search button to choose Exact or Free search but the default should be exact which returns less and more accurate result set.
 
Please remember your test site is not a valid and consistent database.
 
 
8/23/2010 12:08:07 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Search Problem and bug - It fails when searching phrases containing one numeric character
We don't have issue with our shipping product V4.1. We will continue to use SQL fulltext search. You are free to change whatever you think is right to your business.
DotShoppingCart Staff
8/23/2010 12:37:35 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Search Problem and bug - It fails when searching phrases containing one numeric character
It seems you did not get all of the post of this thread,
 
You do not need to change SQL fulltext, You need to understand that the way your queries are implemented are not returning exact search on products
 
So do not claim things that are not provided by your system.
 
This is the Fact :
 
The Search procedures DSC is offering just  Free Text and not Exact search 
 
 
Page 3 of 3 (26 posts) << First < Prev 1 2 3 Next > Last >>