Click to See Complete Forum and Search --> : using queries to search html content..


Stryker
09-06-2006, 02:56 PM
Hi there - Ok, so this is what I would like to do.. We've got a bunch of installation procedures in html format on our intranet. I want to design something that can search the content of these pages based on a keyword that a user enters. I've done written sql queries in the past but only really dealing with passing queries to access and sql databases. Can anyone point me to some good sources to get information on this? or let me know the best way to approach the design of this? I assume it is fairly simple, its just that I've never done it before. Thanks

Phalon
09-07-2006, 01:32 AM
the only way I can think of is if you put all the content that you want to search into a database, or you could just think of all the keywords you can for your different website content and then have a database of them that links to the part of your website that the keywords pertain.

ray326
09-07-2006, 05:17 PM
You need to index those pages. Various index/search programs exist in a wide range of languages. The most popular Java one is probably Lucene. I think you can buy them from the search outfits like Google, too.