Full Text Search Strategy For My Website

Posted by Hosea146 on Programmers See other posts from Programmers or by Hosea146
Published on 2013-06-29T18:38:08Z Indexed on 2013/06/29 22:28 UTC
Read the original article Hit count: 219

Filed under:
|

I have a website that allows users to search for items in various categories. Each category is a separate area (page) of my website. For example, some categories might be cars, bikes, books etc. At the moment a user has to search for an item by going to the page (for example, cars) and searching for the car they want. I would like to allow the user to search for anything on my site, from my main home page.

At the moment, each page (category) has its own set of tables, and I don't really want to turn Full Text Search on for each table (20+ of them) and search each table individually when a search is done. This is going to be slow and tedious.

What I'm thinking of doing is creating a single table that will hold all searchable information for each category of item (when an item is saved in its respective table, I would copy all searchable information over to my 'Search' table). I would then turn Full Text Search on for that table, and search that table.

Does this sound reasonable? Is there a better way? I've never used Full Text Search before, so this is new to me.

© Programmers or respective owner

Related posts about database-design

Related posts about sql-server