I am working on custom search for my website. So kindly guide me which technique is suitable for searching content in DB from multiple tables…
Kindly guide me the algorithms or other technique suitable for website content search.
Thnx adv
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First, keep in mind that this is perfectly possible, but it is not easy to implement.
You seem to be aware that you’ll need two distinct approaches: one for dynamic content, the other for static.
For DB Search: Enable full-text search on the DB side (I’m supposing you’re working with SQL Server, you didn’t say which DBMS you’re developing with) for each “searchable” table in your DB. Create a rule that generates the right link for each table.
For static pages search: I’ve used Lucene.NET for that same reason, and had a good experience with it. Also, after finding the right .html file you will need a rule for generating the right link.
Edit You may also use some integrated library for that, like SiteSearchASP.NET. Much easier to implement (but you’ll have to pay for it).