I did lot of R & D to implement website internal search in asp.net.
I have found a good article in code project (http://www.codeproject.com/KB/applications/SearchDotnet.aspx).
It has some limitations
- Search with special characters is not working.
- Pdf and word documents are not searching.
- Not able to high light the searched text.
- If I am implementing this in master page then child title is not displayed in result page.
I need to implement search result should be like this http://www.google.com/search?q=internal+search+in+asp.net&sourceid=ie7&rls=com.microsoft:en-US&ie=utf8&oe=utf8
In description the search text must be highlighted.
Note: I need to implement this with coding not any 3rd party tool (I know lots of 3rd party website which do free hosting but they will post there adds and logo).
Please suggested and provide me some good links.
Hey Great man,
just go to iis server ,i mean Management Console and Check whether your system has Index Server or Not,no prob if it is not there,you can just install it in one shot
next go through these steps
Thanks for the reply shabir hakim!!
I am not using any database to implement website internal search.
As I found the above code project link is usefull, so I need to solve problems (mentioned above) by implementing same link.
I found the links you supplied are not usefull to me.
Well it depends how you are managing your site content. I recomend to have all your site content mapped to some tag based architecture. so that search would internally be tag based . The search algo would need to consider lot of factors before displaying the appropraite matches, which i can elobrate upon but before that i would like you to explain more on the architecure of the site.
Now regarding highlighting the search text , i belive should not be a big deal , There are lot of algo's available for this.
Thanks for the reply Zubair!
Can you please explain me "architecure of the site"
Also can you please let me what are the algo's available?
I didn't even suggest to use database.I said just use Index Server for it.