I have an ASP web application which has pages with static content as well as dynamic content(data from database). I want to implement a search feature in the site.I Can do this with the dynamic data easily by framing the select query based on the search keys and pull data from the tables,But i would like to know how can i implement the search with the static pages ?
A:
You need to implement some sort of file indexing system such as htdig or Lucene to index your static content, then run your searches through that.
The main problem would be to present a unified search for both your static and dynamic content - I would simply push the dynamic content into the indexer (at least Lucene allows nicely for that) and use the same search system for both.
Guss
2009-09-03 13:22:27
A:
This is what i was looking for http://www.codeproject.com/KB/aspnet/search.aspx
Shyju
2009-09-03 15:45:15