在SharePoint 2013上的特定文件夹中搜索

在SharePoint 2013上的特定文件夹中搜索,sharepoint,sharepoint-2013,sharepoint-api,sharepoint-search,Sharepoint,Sharepoint 2013,Sharepoint Api,Sharepoint Search,如何使用API在SharePoint 2013中的列表的特定文件夹中进行搜索 我的很多尝试都失败了: http://localhost/_api/search/query?querytext='*B*+AND+List:DocumentLibList'&clienttype='ContentSearchRegular' 或 我需要对DocumentLibList的特定文件夹进行全文搜索。可选,带有文档的筛选属性-如果可能的话 提前感谢您的任何想法 您是否尝试过在路径字符串末尾使用星号?

如何使用API在SharePoint 2013中的列表的特定文件夹中进行搜索

我的很多尝试都失败了:

http://localhost/_api/search/query?querytext='*B*+AND+List:DocumentLibList'&clienttype='ContentSearchRegular'

我需要对DocumentLibList的特定文件夹进行全文搜索。可选,带有文档的筛选属性-如果可能的话


提前感谢您的任何想法

您是否尝试过在路径字符串末尾使用星号?此外,您还可以尝试使用site:filter将文件夹的绝对路径作为值传递

http://localhost/_api/search/query?querytext='*B*+site:"http://yourserver/yourlibrary/yourfolder"'
SharePoint 2013搜索查询工具将有助于此试错过程:

http://localhost/_api/search/query?querytext='*B*+site:"http://yourserver/yourlibrary/yourfolder"'