locked
How to use the search of the forum RRS feed

  • General discussion

  • Many times i have seen questions like, how can i search inside my threads or how can i search for threads i have started. I have found Beth Massi`s blog about searching msdn forums by using meta information. I have checked a few other sources about this and wanted to summarize this for anybody who is interested.

    If you want to search for threads to which you have contributed use :
    meta:Search.MSForums.ThreadContributorUserName(Heslacher)

    If you want to search for threads you have started :
    meta:Search.MSForums.ThreadStarterUserName(Heslacher)

    If you want to search for threads which are answered :
    meta:Search.MSForums.IsAnswered(1)
    -> searching for IsAnswered(0) won`t return a result, because the meta information is only added if the question is answered.

    To search for unanswered question use:
    meta:Search.MSForums.IsAnswered(NOT 1)

    If you want to search for threads within the threadname/description:
    meta:Search.MSForums.Description(How to use the search of the forum)
    meta:Search.MSForums.ThreadName(How to use the search of the forum)

    If you want to search for threads based on the number of post:
    meta:Search.MSForums.PostCount(2)
    or
    meta:Search.MSForums.PostCount(>20)

    If you want to search for threads based on the forums groupname:
    meta:Search.MSForums.GroupName(visualbasic)
    meta:Search.MSForums.GroupName(netdevelopment)
    meta:Search.MSForums.GroupName(visualcsharp)
    meta:Search.MSForums.GroupName(vsexpress)

    If you want to search for threads based on the forums name:
    meta:Search.MSForums.ForumName(vbgeneral)
    meta:Search.MSForums.ForumName(netfxbcl)
    meta:Search.MSForums.ForumName(csharpgeneral)
    meta:Search.MSForums.ForumName(vblanguage)
    meta:Search.MSForums.ForumName(Vsexpressvb)
    meta:Search.MSForums.ForumName(Vsexpressvcs)
    meta:Search.MSForums.ForumName(csharplanguage)

    If you want to search for threads which has been helpful:
    meta:Search.MSForums.HelpfulThread(true)
    -> i have investigated that this won`t work as expected

    If you want to search for threads which has are questions:
    meta:Search.MSForums.IsQuestion(1)
    For generall discussion/sticky`s use:
    meta:Search.MSForums.IsQuestion(NOT 1)


    There are a few other meta information you can search for, like:
    meta:Search.MSForums.Version(4.0)
    meta:Search.MSForums.Brand(Msdn)
    meta:Search.MSForums.Locale(en-US)
    meta:Search.MSForums.Language(en)
    meta:Search.MSForums.LCID(1033)
    meta:Search.MSForums.SiteID(Msdn.en-US)
    meta:Search.MSForums.SiteName(Msdn)
    meta:Search.MSForums.GroupID(729d4ce2-2138-4ab2-a688-c1e5c0470cce)
    meta:Search.MSForums.ForumId(0f60fa48-1ceb-41ee-a10a-0dfcee7e19bd)
    meta:Search.MSForums.ThreadId(8ffc678d-2479-49f5-a1df-ffe66e4dc64a)
    meta:Search.MSForums.ViewType(Thread)


    If you want to search for multiple meta's you just add them together like:
    meta:Search.MSForums.ForumName(vbgeneral) meta:Search.MSForums.ThreadContributorUserName(Heslacher) meta:Search.MSForums.IsAnswered(1)
    [separated by a space character]

    If you want to search e.g. answered threads in vbgeneral forum for excel gc you can do it like:
    Excel gc meta:Search.MSForums.ForumName(vbgeneral) meta:Search.MSForums.IsAnswered(1)

    If you want to check for yourself what kind of meta information is stored you need to change your browser user agent to a search bot like:
    msnbot/1.0 (+http://search.msn.com/msnbot.htm)
    Googlebot/2.1 (+http://www.google.com/bot.html)
    ...
    because this information isn`t visible to normal browser user agents.

    If you find any typo`s you can keep them. :-)
    Hannes

    If you have got questions about this, just ask.
    Mark the thread as answered if the answer helps you. This helps others who have the same problem !
    C# to VB.NET: http://www.developerfusion.com/tools/convert/csharp-to-vb/
    • Edited by Martin_Xie Tuesday, February 23, 2010 4:00 AM Enbold some text to highlight some points.
    • Edited by Heslacher Thursday, February 25, 2010 11:46 AM
    Monday, February 22, 2010 8:33 AM

All replies

  • Great Heslacher. It's really useful information.
    Gaurav Khanna Visual Basic MVP
    Monday, February 22, 2010 11:07 AM
  • Hi Hannes,

    I hope that a moderator will place this as a directive in the header of this forum.

    Good job.

    Cor
    Success
    Cor
    Monday, February 22, 2010 11:37 AM
  • thanks to both of you !

    Hannes

    If you have got questions about this, just ask.
    Mark the thread as answered if the answer helps you. This helps others who have the same problem !
    C# to VB.NET: http://www.developerfusion.com/tools/convert/csharp-to-vb/
    Monday, February 22, 2010 6:25 PM
  • Thank you Hannes for sharing such useful information. It will be beneficial for many and many community members to efficiently take advantage of MSDN forums to get better learning and support.


    Make it sticky.

    Thank you All for your participation and contribution to MSDN community!



    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.

    Best regards,

    Martin Xie

    MSDN Subscriber Support in Forum

    If you have any feedback on our support, please contact msdnmg@microsoft.com

     

    Tuesday, February 23, 2010 4:07 AM
  • not sure if this is of any help, but it should be. lol.
    http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/e1163b05-84f5-4978-9a8b-df140cbcac59
    the above link is for a way to create a custom vb.net application to save your favorite msdn threads .
    it is a beta app ( me being a noob and all ;o), but overall it should be a good startup project to proceed w/such.
    -----------
    heslacher , nice thread. ;o)
    i will have to do a little testing of my own w/your original posted information before you get a helpful from me, but overall, looks promising. thanx.
    With . trujade. : . Process . Start ( " mns " ) : End With
    Tuesday, February 23, 2010 7:13 PM
  • If you want to search the msdn Library there are also some tips:

    If you want to search for entries containing sample code
    meta:Search.CodeSnippet(1)

    If you want to search for entries regarding the e.g. System.Net namespace
    meta:Search.MSHKeywordA(System.Net)

    You can also define this search for:

    Topic of the System.Net namespace
    meta:Search.MSHKeywordA(T:System.Net)

    Methods of the objects contained e.g in the System.Net namespace
    meta:Search.MSHKeywordA(M:System.Net)

    Properties of the objects contained e.g in the System.Net namespace
    meta:Search.MSHKeywordA(P:System.Net)

    Events of the objects contained e.g in the System.Net namespace
    meta:Search.MSHKeywordA(E:System.Net)

    If you want to search for entries regarding Visual Basic

    meta:Search.MSHAttr.DevLang(VB)

    If you want to search for entries regarding C#
    meta:Search.MSHAttr.DevLang(CSharp)

    If you want to search for entries regarding Managed Code

    meta:Search.MSHAttr.APIType(Managed)

    If you want to search for entries based on a dll file
    meta:Search.MSHAttr.APILocation(System.dll)

    If you want to search for entries based on the Visual Studio Version
    meta:Search.MSHAttr.ShippedIn(vs.80)
    meta:Search.MSHAttr.ShippedIn(vs.90)

    If you want to search for the type of Topic
    meta:Search.MSHAttr.TopicType(kbSyntax)
    meta:Search.MSHAttr.TopicType(apiref)
    meta:Search.MSHAttr.TopicType(article)
    meta:Search.MSHAttr.TopicType(kbarticle)

    If you want to search for entries where the community added content
    meta:Search.MSHAttr.CommunityContent(1)

    If you want to search for article from the MSDN Magazine

    meta:Search.Magazine.PageType(article)

    If you want to search for entries based on the rating e.g. > 4.2
    meta:Search.Rating(>4.2)

    There will be some more meta information which are stored. Check them out for yourself.

    And as always: If you find any typo`s you can keep them. :-)


    Hannes

    If you have got questions about this, just ask.
    Mark the thread as answered if the answer helps you. This helps others who have the same problem !
    C# to VB.NET: http://www.developerfusion.com/tools/convert/csharp-to-vb/
    Thursday, February 25, 2010 11:40 AM
  • hi ,

    Nice ! great for a lot of people ! this will help many ! hmmm can a mod or owner make a link from the FAQ to this ?

    now that would be usefull

    thanks again !

    have a nice day
    Scan with OneCare + 50 Windows 7even Tips + Plagued by the Privacy Center? REMOVE IT + Threat Research & Response Blog + Sysinternals Live tools + TRANSLATOR+ Photosynth + Microsoft Security + Microsoft SUPPORT + PIVOT from Live Labs + Microsoft Live Labs + Office 2010 beta + Get Windows LIVE!
    Tuesday, March 2, 2010 10:36 PM
  • Thank you for some very useful information.

    Now, could you (or anyone else who knows how to change their User Agent string) work out the equivalent for the Windows Live Solution Center? Although it would be reasonable to assume that this was part of MSForums, it probably isn't (i.e. my metadata searches have failed.)
    Noel
    Thursday, March 11, 2010 5:40 PM
  • Hi Noel,

    i just checked the Windows Live Solution Center, but the search bot won`t get any meta information back.

    Sorry
    Hannes

    If you have got questions about this, just ask.
    Mark the thread as answered if the answer helps you. This helps others who have the same problem !
    C# to VB.NET: http://www.developerfusion.com/tools/convert/csharp-to-vb/
    Friday, March 12, 2010 6:58 AM
  • Bother! Thanks for trying, anyway.
    Noel
    Friday, March 12, 2010 12:52 PM
  • Great information, thanks!
    Sam Jarawan - Senior Development Lead - Server and Tools Online
    Saturday, April 3, 2010 8:07 AM
  • i will try, thank you
    Thursday, May 20, 2010 2:09 PM
  • Thanks for the listing. I think I'll have to bookmark it.

    Having said that, I'm dumbfounded that Microsoft of all companies can't provide an 'Advanced Search' functionality.  I feel like I'm back in the 1980's.

     

     

    Tuesday, May 3, 2011 2:49 PM
  • I have just created a wiki article about this here: http://social.technet.microsoft.com/wiki/contents/articles/how-to-use-the-search-of-the-msdn-forum-or-the-msdn-library.aspx
    Hannes

    If you have got questions about this, just ask.

    In a perfect world,
    users would never enter data in the wrong form,
    files they choose to open would always exist
    and code would never have bugs.

    C# to VB.NET: http://www.developerfusion.com/tools/convert/csharp-to-vb/
    Saturday, December 31, 2011 12:50 PM
  • Heslacher:

    Can you tell us:

    1) How to search for all the threads that are answered by me and my answer(s) are marked as answers by questioners?

    2) How to find "from when to when" (a specific period of time)?

    3) If I use multiple search options, what's the relationship between them? "And" or "Or"? Now I searched by pasting your search option directly in the MSDN search textbox and press button, but the reply isn't right……Am I wrong???

    Copied this:

    If you want to search for multiple meta's you just add them together like:
    meta:Search.MSForums.ForumName(vbgeneral) meta:Search.MSForums.ThreadContributorUserName(Heslacher) meta:Search.MSForums.IsAnswered(1)

    PS:Where do I paste the words of searching (in which page?) and do I need to write "meta" as a prefix tag?

    Reguards & Thanks!


    For Account Validation, please follow "Verify Account+Number" at http://social.msdn.microsoft.com/Forums/en-us/home?forum=reportabug

    For ASP.NET Question, please ask at http://forums.asp.net

    For other questions, you can find a specific forum and then ask at http://stackexchange.com/sites

    Click and Donate at http://www.freerice.com


    Wednesday, November 13, 2013 11:26 AM
  • Heslacher:

    Can you tell us:

    1) How to search for all the threads that are answered by me and my answer(s) are marked as answers by questioners?

    2) How to find "from when to when" (a specific period of time)?

    3) If I use multiple search options, what's the relationship between them? "And" or "Or"? Now I searched by pasting your search option directly in the MSDN search textbox and press button, but the reply isn't right……Am I wrong???

    Copied this:

    If you want to search for multiple meta's you just add them together like:
    meta:Search.MSForums.ForumName(vbgeneral) meta:Search.MSForums.ThreadContributorUserName(Heslacher) meta:Search.MSForums.IsAnswered(1)

    PS:Where do I paste the words of searching (in which page?) and do I need to write "meta" as a prefix tag?

    Reguards & Thanks!


    For Account Validation, please follow "Verify Account+Number" at http://social.msdn.microsoft.com/Forums/en-us/home?forum=reportabug

    For ASP.NET Question, please ask at http://forums.asp.net

    For other questions, you can find a specific forum and then ask at http://stackexchange.com/sites

    Click and Donate at http://www.freerice.com


    Example:

      you want to search the word "USB" .... In the en-US forum site .... getting only threads marked as answer

    -First type the word you want to search,

    - Then the meta

    - finally the site where you want the search to be done

    usb meta:Search.MSForums.IsAnswered(1) site:social.msdn.microsoft.com/Forums/en-US/

    - You can also combine metas

    textbox meta:Search.MSForums.IsAnswered(1) meta:Search.MSForums.GroupName(visualbasic) site:social.msdn.microsoft.com/Forums/en-US/


    • Edited by Crazypennie Wednesday, November 13, 2013 6:16 PM 213654
    Wednesday, November 13, 2013 12:34 PM
  • Hello Crazypennie:

    many thanks but:

    1) How to search for all the threads that are answered by me and my answer(s) are marked as answers by questioners?

    2) How to find "from when to when" (a specific period of time)?

    3) If I don't want to search for specific threads but just search in all the fourms that I've been involved in, what should I do? should I type "meta" as a prefix without writting "usb"?


    For Account Validation, please follow "Verify Account+Number" at http://social.msdn.microsoft.com/Forums/en-us/home?forum=reportabug

    For ASP.NET Question, please ask at http://forums.asp.net

    For other questions, you can find a specific forum and then ask at http://stackexchange.com/sites

    Click and Donate at http://www.freerice.com

    Thursday, November 14, 2013 1:45 AM