locked
Custom Search Results RRS feed

  • Question

  • Hey SharePoint Fam!

    Have a new project where the search results need to be tweaked.  Ootb default search results always show the documents and then it pulls like 20-30 characters from that file and displays under file title.  I am wanting to create a custom description field for all files uploaded where users can go in and give exact description of the file so that users searching can get better understand on what each file is.  Would this be a new crawled property I need to create?  Thanks N Advance

    Friday, March 22, 2019 5:28 PM

Answers

  • Hi,

    Once you create a custom Description for example named "MyDescriptions" in a library, input some data for test.

    And then do a full search crawl, Search Service Application will automatically create the crawled property named "ows_fieldname":

    Now, you could create a new Managed Property and mapping to this crawled property and make the managed metadata searchable:

    Finally, this managed property could be used in your search query and return search results.

    Reference:

    https://www.techmikael.com/2014/07/what-makes-sharepoint-column-searchable.html

    Thanks

    Best Regards


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    • Marked as answer by 41global Tuesday, March 26, 2019 3:44 PM
    Monday, March 25, 2019 7:49 AM

All replies

  • Hi,

    Once you create a custom Description for example named "MyDescriptions" in a library, input some data for test.

    And then do a full search crawl, Search Service Application will automatically create the crawled property named "ows_fieldname":

    Now, you could create a new Managed Property and mapping to this crawled property and make the managed metadata searchable:

    Finally, this managed property could be used in your search query and return search results.

    Reference:

    https://www.techmikael.com/2014/07/what-makes-sharepoint-column-searchable.html

    Thanks

    Best Regards


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    • Marked as answer by 41global Tuesday, March 26, 2019 3:44 PM
    Monday, March 25, 2019 7:49 AM
  • Thanks a bunch Jerry Zy!!
    Tuesday, March 26, 2019 3:44 PM