Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am developing a Search Engine which search current static website.

I got many useful links from google like

VB
http://www.codeproject.com/KB/IP/Searcharoo.aspx
http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=38339
http://www.codeproject.com/KB/aspnet/DotLuceneSearch.aspx
http://www.codeproject.com/KB/applications/SearchDotnet.aspx
http://msdn.microsoft.com/en-us/magazine/cc163355.aspx
http://www.searcharoo.net/SearcharooV7/
http://www.codeproject.com/KB/aspnet/DotLuceneSearch.aspx
http://ifdefined.com/blog/post/Full-Text-Search-in-ASPNET-using-LuceneNET.aspx
http://www.codeproject.com/KB/IP/Searcharoo_4.aspx
http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=38339
http://www.codeproject.com/info/search.aspx?artkw=site+search+&aidlst=64,65,69,85,87,147&sa_ao=False&sa_so=17&sa_as=1,6&pgnum=2


But most of them not having highlighted keyword when search is done in the search results.

Need some useful links for static site search using only C#.Net.

Thanks in advance. :)
Posted

Have you considered a client-side library to do the work of highlighting the search text when the page is rendered? I think that it is how most operate.

You would use a javascript library (like jQuery, Prototype, etc) to apply a class to word that meet the search criteria.

You can find plugins to do the heavy-lifting, such as this:

http://bartaz.github.com/sandbox.js/jquery.highlight.html[^]


Cheers,
-jc
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900