ASP.NET: Internal Site Search
I'm searching for some internal site search code.
The scenario is:
I'm having a site in which the content comes from database (CMS) which makes the 开发者_运维技巧pages dynamic. So the search tool should search this dynamic content too.
I don't want to use readymade search engines like google, bing etc....
Do I need to make my own search control for this or would I get a ready code? If I would have to make my own then what approach should I take?
Lucene.NET can search files and database, or any text-based content. See here how to start. You can also buy a book. For documentation, you can search for Java examples, wikis and docs, because it's direct port so most of concepts for on .NET version also.
You can use google search to search in your pages, see How can I add a Google search box to my Web site?
精彩评论