2017-06-13 62 views
0

我想使用SharePoint搜索REST API獲取一些數據。使用此查詢我得到正確的數據:限制SharePoint搜索結果以選擇屬性

http://mySharePoint/sites/mySiteCollection/_api/search/query?querytext='*ac*'&rowlimit=100&clienttype='ContentSearchRegular' 

,但我想限制這種結果只搜索幾個屬性,像這樣:Title == *ac* || Description == *ac* 這是可以管理它?

+0

你做完/ GetByTitle( 'LISTNAME')/項目$頂部= 100 還有更多在這裏: https://dev.office.com/sharepoint/docs/sp-add-ins/use- odata-query-operations-in-sharepoint-rest-requests –

+0

我詢問了使用搜索服務的Search Rest API。我想通過一個查詢從不同列表中獲取數據,然後處理它。 –

回答

0

好吧,我發現是什麼問題。 SharePoint Search無法處理word或postfix中的匹配模式。它只能執行前綴。因此,搜索諸如abc *之類的東西是可用的,但是* abc或abc不是。

相關問題