Customize Search Results in WSS 3.0
-
Wednesday, February 01, 2012 4:49 PM
I'm trying to customize (filter) the search results for a blog that uses WSS 3.0. Basically, I only want the search to pull back results from the Posts list (so just the actual blog posts) and not the Categories or other views including the Post views (such as the Post By Author, All Posts, etc. view that shows all of the post in a long sorted list). I noticed all of the posts have the ending URL of "/Lists/Posts/ViewPost.aspx?ID=" is there a way to customize the search query to only pull back results with that ending?
Thanks for any help!
All Replies
-
Friday, February 03, 2012 7:55 AMModerator
Hi RileyRbit,
SharePoint search syntax provides the search. you can search the result with a url. You put a key word, and the key word will in the url. So , you url will as the parameter in your search url.
You can refer to the following link.
http://sridharu.blogspot.com/2008/03/search-query-url.html
you can also refer to the following link to develop customize search.
http://blog-dotnetsp.blogspot.com/2010/01/custom-search-web-part-code-for-wss-30.html
Thanks,
Jack
- Edited by Jack-GaoMicrosoft Contingent Staff, Moderator Friday, February 03, 2012 7:56 AM
- Marked As Answer by Jack-GaoMicrosoft Contingent Staff, Moderator Saturday, February 11, 2012 11:33 AM

