Get Result Text in Search Results Search REST API Sharepoint 2013 RRS feed

  • Question

  • Hi,

    I am using Search REST API to search in Sharepoint2013 lists. I am able to retrieve the data using it. Along with the result I want to show the entire text content where query text is found. Also if possible in which field query text is found.



    Thursday, June 8, 2017 6:16 PM

All replies

  • Hi,

    Can you please check the below

    Please remember to click Mark as Answer on the answer if it helps you

    Thursday, June 8, 2017 9:04 PM
  • Thanks for your reply. But these links does not mention anything about Search Result field. I just want to show the field content where Search text is found & if possible then that field name as well.

    Ex. I have list with field1, field2. Below is the data in the list.

    field1           | field2

    test-field1    | My text field2

    If I search for "text" then I want to show in the result the column text "My text field2". And also if possible then field name "field2" as well.


    Tuesday, June 13, 2017 7:18 PM