Full-text Catalog HttpUnhandledException

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
seanhoward
Ensign (ENS)
Ensign (ENS)
Posts: 17
Joined: Fri Oct 02, 2009 3:01 pm

Full-text Catalog HttpUnhandledException

Post by seanhoward » Thu Oct 22, 2009 3:48 pm

I am getting the following error in my AC error log, and search does not work from the front end.

Exception of type 'System.Web.HttpUnhandledException' was thrown.; Syntax error near 'honda' in the full-text search condition '2003 honda element'.

I am still testing, but my environment looks like this:
1. DB has a fully populated FTC
2. Store configuration has FTC checkbox enabled.
3. Product has all of these words in the search keywords field.

Thanks for your help!
Sean

seanhoward
Ensign (ENS)
Ensign (ENS)
Posts: 17
Joined: Fri Oct 02, 2009 3:01 pm

Re: Full-text Catalog HttpUnhandledException

Post by seanhoward » Thu Oct 22, 2009 3:54 pm

Ok, I feel smart. This was handled in the latest hotfix. Applied fix, and works fine.

seanhoward
Ensign (ENS)
Ensign (ENS)
Posts: 17
Joined: Fri Oct 02, 2009 3:01 pm

Search Keywords Field working?

Post by seanhoward » Thu Oct 22, 2009 4:06 pm

On the product details page is a field called "Search Keywords:", but neither the product finder, nor the advance search seem to find products with keywords in this field. Is this working?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Full-text Catalog HttpUnhandledException

Post by mazhar » Fri Oct 23, 2009 3:45 am

Just test it on my local install of 7.0.3 and it seems to work great. I entered a word in keywords section of product and then tested both simple and advance search page.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Full-text Catalog HttpUnhandledException

Post by AbleMods » Fri Oct 23, 2009 9:40 am

seanhoward wrote:On the product details page is a field called "Search Keywords:", but neither the product finder, nor the advance search seem to find products with keywords in this field. Is this working?
Keyword search works very well. Keywords should be separated with commas like "Stainless, Steel, Skillet".

Keep in mind with FTS enabled, the Products Keyword field is mostly a mute point. FTS will return noteably different result sets for keyword searches because it's now hitting the ModelNumber, SKU, Description and Summary fields etc instead of just the contents of the product keywords field.

Also, keyword searches are "static". Putting "Stainless Steel" in the search box will NOT find a product with the keywords "Stainless, Steel, SKillet" nor will FTS return a hit on a description of "Steel skillet made of stainless material". It would only find a product with the specific words "Stainless Steel" immediately next to each other.

AC7 search is best suited for single-word or connected-word searches only. I believe improvements to this are slated in the next Able release but don't quote me on that.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
igavemybest
Captain (CAPT)
Captain (CAPT)
Posts: 388
Joined: Sun Apr 06, 2008 5:47 pm

Re: Full-text Catalog HttpUnhandledException

Post by igavemybest » Fri Oct 23, 2009 2:59 pm

I have full text search enabled, but it doenst seem to work when I serach the catalog. Am I missing something?

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Full-text Catalog HttpUnhandledException

Post by AbleMods » Mon Oct 26, 2009 5:40 am

igavemybest wrote:I have full text search enabled, but it doenst seem to work when I serach the catalog. Am I missing something?
Did you install the FTS patch ?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
igavemybest
Captain (CAPT)
Captain (CAPT)
Posts: 388
Joined: Sun Apr 06, 2008 5:47 pm

Re: Full-text Catalog HttpUnhandledException

Post by igavemybest » Mon Oct 26, 2009 9:42 am

Is there a patch for 7.0.3? My FTS works, just not when I am in teh admin searching in the catalog. It works on the store side and in the main upper right search box on the admin.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Full-text Catalog HttpUnhandledException

Post by AbleMods » Mon Oct 26, 2009 12:07 pm

There is a patch.

FTS isn't implemented on the admin side.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

seanhoward
Ensign (ENS)
Ensign (ENS)
Posts: 17
Joined: Fri Oct 02, 2009 3:01 pm

Re: Full-text Catalog HttpUnhandledException

Post by seanhoward » Mon Nov 02, 2009 5:56 pm

In the interest of community knowledge, I offer this follow-up. My problem was ultimately caused by two things: 1.) I needed to install the 7.0.3 FTS patch, and 2.) I think that AC7 looks at the primary catalog, and it might be best if it remained named "ac_SearchCatalog".

Also, as a clarification of what AbleMods explained, i.e. "FTS isn't implemented on the admin side.", the search box in the header, the advanced search, and the admin search are three separate functions that appear to have different algorithms.

This may or may not be an appropriate place for this question, but I would like the SimpleSearch.ascx to look at ONLY the "search keywords" field without disabling the FTS catalog for the advanced search. Is there an easy way to do this, or do I have to refactor the ASCX to use the Admin search logic vis-a-vis "search areas"? Related to that, is there a parameter or an overload that gets the method "ProductDataSource.NarrowSearch" to return results for "all" keywords instead of "any"? I'm getting results from my data that are irrelevant to my search keywords.

Thanks everyone!

Sean

Post Reply