I'm trying to use the REST API to run a search query on the files in Alfresco. I am able to replicate the results from the online interface, but would like to recieve the search term in it's context, as can be seen in the web interface results.
For example, when I search for "MacDougall" in the web interface, I get:
And using the API I submit:
And get back:
As you can see, the correct result is returned, but is missing the keyword MacDougall in it's context as per the browser search.
Is there any way in which the API can return the string "It started out as just another Saturday. April 26, 1986. John R. MacDougall, 25, spent the day..." along with the search result?