Page 1 of 1

Adding more fields to full text search

Posted: Thu Mar 03, 2011 12:12 pm
by richa
Ablecommerce version: 7.0.5 build 14053

If I add a table e.g. ac_ProductsExtension to the catalog ac_SearchCatalog, will the selected columns from this table be included in able's full text search automatically or does it require a code change?

-Thanks
Richa

Re: Adding more fields to full text search

Posted: Fri Mar 04, 2011 7:09 am
by jmestep
It would require a code change. For example, the KeywordSearchHelper.cs in 7.0.5 source code has this code in it:
FTSIndexedTables.Add("ac_Products");
columns = "Name,Sku,ModelNumber,Summary,Description,ExtendedDescription,SearchKeywords";


I did a webpage search customization for a site and used Able's source code as a base, but changing everything to ac_Webpages instead of ac_Products, etc. It was for a 7.0.5 site so I used the 7.0.5 source code first and the results still weren't all that great like the 7.0.5 product search is an improvement over previous builds. But then I changed the webpage search base to 7.0.6 search code and the results were greatly better.