I am trying to add keyword search functionality using REST api on a particular list. I have got the result using the query as :
var queryUrl = appWeb + "/_api/search/query?querytext='" + keyWord + "+AND+ListId:" + listId + "'";
Where listId is list GUID. The problem with the result is that its a very weird object that I am getting and I am not even sure if I am getting correct results.
The ask here is that I need all the rows which has this particular keyword and hence would require a JSON object (for jquery bootgrid grid population) with all the column data in it.
Currently the object does not have that.
Please note that if there is another approach, maybe JSOM, could you please share how to achieve this?