locked
sharepoint search for document library RRS feed

  • Question

  • I need to search document from document library based on the keyword in that document so i have a keyword column so when i search a keyword it should display the document. how can we achieve.

    sree

    Friday, June 8, 2012 8:59 AM

Answers

  • Hi Sree,

    You can achieve this without developments as this is a OOB SharePoint functionnality.

    So you have a word document whose Keyword property is set with value.

    Go to your SharePoint document library, in library settings, and click on "Add from existing site columns" under the columns section. You can then add to the list the existing Keywords field.

    This field is by default crawled by the search engine, so you will be able to perform searches on this criteria.

    When you add the word document to this library, the keywords column will be automatically filled with the keywords property of the document.

    For more information: Manage metadata properties for search (Search Server 2010) - http://technet.microsoft.com/en-us/library/cc164182.aspx


    Cordialement/Regards,

    Ludovic Caffin
    .NET/SharePoint Consultant for A3IS.


    Friday, June 8, 2012 9:29 AM
  • You have to wait the crawler to crawls your site again or launch it manually.

    Start, pause, resume, or stop a crawl (Search Server 2010) - http://technet.microsoft.com/en-us/library/ee808899


    Cordialement/Regards,

    Ludovic Caffin
    .NET/SharePoint Consultant for A3IS.

    • Marked as answer by Shimin Huang Friday, June 15, 2012 2:42 AM
    Friday, June 8, 2012 11:57 AM

All replies

  • Hi Sree,

    You can achieve this without developments as this is a OOB SharePoint functionnality.

    So you have a word document whose Keyword property is set with value.

    Go to your SharePoint document library, in library settings, and click on "Add from existing site columns" under the columns section. You can then add to the list the existing Keywords field.

    This field is by default crawled by the search engine, so you will be able to perform searches on this criteria.

    When you add the word document to this library, the keywords column will be automatically filled with the keywords property of the document.

    For more information: Manage metadata properties for search (Search Server 2010) - http://technet.microsoft.com/en-us/library/cc164182.aspx


    Cordialement/Regards,

    Ludovic Caffin
    .NET/SharePoint Consultant for A3IS.


    Friday, June 8, 2012 9:29 AM
  • Not working :(

    Add from existing site columns keywords and uploaded document with keywords and searched. not working.pls help.


    sree

    Friday, June 8, 2012 10:45 AM
  • You have to wait the crawler to crawls your site again or launch it manually.

    Start, pause, resume, or stop a crawl (Search Server 2010) - http://technet.microsoft.com/en-us/library/ee808899


    Cordialement/Regards,

    Ludovic Caffin
    .NET/SharePoint Consultant for A3IS.

    • Marked as answer by Shimin Huang Friday, June 15, 2012 2:42 AM
    Friday, June 8, 2012 11:57 AM