简体   繁体   中英

SharePoint 2013 search REST API

I am trying to search items in SharePoint site by using this URL in the browser: sites/esc/_api/search/query?querytext='Amit' . But I am not able to retrieve the same number of results which are retrieved when the same item is searched in SharePoint site. The search with the URL retrieves only a few results as compared to the search in SharePoint site whereas the blogs on different websites states that the URL will give complete results. Can anyone please explain this or provide the URL to do the same.

I finally found the mistake. The URL which I was using was correct. The only thing was that by default it was taking the row limit to 20. On increasing the row limit I was able to get complete results.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM